Re: [PHP] auto 'jump' to link

2003-09-03 Thread Jackson Miller
header("Location: $url"); hope this helps. -Jackson On Thu, 2003-09-04 at 00:32, DougD wrote: > I've seen this somewhere (or I've gone crazy), but a function in PHP that > automatically forwards you to another web page. If want to do an 'if x=5 > then jump to this other page on the site or an e

Re: [PHP] Session_start() corrupt HTML output with IE

2003-09-03 Thread Curt Zirzow
* Thus wrote hecchan ([EMAIL PROTECTED]): > Hi, > Using IE 6 (XP) i can't see the source generated for PHP even the page > works properly (It doesn't happend with Mozilla or Opera). > > If i comment out the line: > session_start() > This behaviour stops. > Any idea what's going on? What is your

[PHP] Thank you -- Re: auto 'jump' to link

2003-09-03 Thread DougD
exactly what I needed ... just couldn't get it searched out. Your help is greatly appreciated... "Dougd" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I've seen this somewhere (or I've gone crazy), but a function in PHP that > automatically forwards you to another web page. If want

[PHP] Am I dreaming or what :)

2003-09-03 Thread John Taylor-Johnston
I have a directory jammed-packed with images. I want to read the directory contents /www/usr/htm/images/ and display randomly any *.gif or *.jpg in said directory. Do-able? Seriously? Ideas? Places to start? John -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www

Re: [PHP] cookie crumbles

2003-09-03 Thread John Taylor-Johnston
As it turned out, all I had to do was get rid of the period "." and things began to work better. I also had to remember to close my browser and empty the cookie jar. Thanks, J Jaap Van Ganswijk wrote: > At 2003-09-01 00:49 -0400, John Taylor-Johnston wrote: > >I create this cookie, using Javascr

Re: [PHP] Am I dreaming or what :)

2003-09-03 Thread Raditha Dissanayake
this is in fact pretty easy. this should get you started [code] $files = split("\n",`ls *gif`); srand((double)microtime()*100); $num = rand(0, count($files)); echo "$num = $files[$num]"; [/code] John Taylor-Johnston wrote: I have a directory jammed-packed with images. I want t

[PHP] Uploading files via SSH

2003-09-03 Thread Ben C.
This is not a PHP question but didn't know where else to ask it. I am uploading files via SSH Secure File Transfer and am getting the following error message. --error message start-- Failed to scan directories. Error 6: C:/Documents and Settings/My Documents/My Webs/dynamic/1.php: No such file or

<    1   2