Re: [php-list] Trying to include a file

2005-08-20 Thread Brian Cummiskey
Nick Vettese wrote: >I am working on a website, upgrading my knowledge from >HTML to (X)HTML/PHP/CSS. > Great! > I am trying to include a >file so that I can make it appear in my sidebar. >Looking at a snippet of my code, my main program >includes this: > > > > > > > this is fine, but just s

[php-list] Trying to include a file

2005-08-20 Thread Nick Vettese
I am working on a website, upgrading my knowledge from HTML to (X)HTML/PHP/CSS. I am trying to include a file so that I can make it appear in my sidebar. Looking at a snippet of my code, my main program includes this: My test.shtml looks like this: This is to see what the adbox class w

Re: [php-list] header refresh

2005-08-20 Thread Bob
Thanks Gordon, I'll put a link in, just in case. It certainly can't hurt. - Original Message - From: "Gordon Stewart" <[EMAIL PROTECTED]> To: Sent: Sunday, August 21, 2005 12:39 AM Subject: Re: [php-list] header refresh > On 8/21/05, Bob <[EMAIL PROTECTED]> wrote: >> Is it safe to use

Re: [php-list] header refresh

2005-08-20 Thread Gordon Stewart
On 8/21/05, Bob <[EMAIL PROTECTED]> wrote: > Is it safe to use: > header("refresh: 0; url=http://www.website.com/page1.php";); > > Googling for it produces mixed results. > Some say it's ok and others say it's unreliable? >From what I know - If you use the HTML equivelant, - you are hoping that t

Re: [php-list] Re: Uploading a file and stripping things from the file name

2005-08-20 Thread Pete
In message <[EMAIL PROTECTED]>, Marian Briones <[EMAIL PROTECTED]> writes >So now I can finish some projects which have been a huge 16 ton weight >on my head! And stop hassling us (;-> -- Pete Clark http://www.hotcosta.com http://www.spanishholidaybookings.com Yahoo

[php-list] header refresh

2005-08-20 Thread Bob
Is it safe to use: header("refresh: 0; url=http://www.website.com/page1.php";); Googling for it produces mixed results. Some say it's ok and others say it's unreliable? Yahoo! Groups Sponsor ~--> http://us.ard.yahoo.com/SIG=12h2069ge/M=362131.688249

[php-list] Re: Uploading a file and stripping things from the file name

2005-08-20 Thread Marian Briones
Well, I woke up in the middle of the night and a light bulb had gone off (not literally). I needed to build a foolproof uploading system because I can tell my users that their filenames need to be alphanumeric only followed by a .jpg or whatever extension and someone will STILL break it. I couldn

Re: [php-list] Re: Uploading a file and stripping things from the file name

2005-08-20 Thread Pete
In message <[EMAIL PROTECTED]>, Marian Briones <[EMAIL PROTECTED]> writes >Because I've tried to do that and it doesn't work. My script bombs. >I posted lines of the code and it just bombs. So, you are OK with doing that, if you can get the script to work? (Despite possible duplication problems)

Re: [php-list] Re: Uploading a file and stripping things from the file name

2005-08-20 Thread Pete
In message <[EMAIL PROTECTED]>, Marian Briones <[EMAIL PROTECTED]> writes >I don't have a working answer yet in this dilemma > >MJB I was asking if these suggestions had already been made, and if they were suitable for you... I am not sure, at this point, where you are up to, or what exactly