Re: [PHP] Image Upload??

2001-05-16 Thread Brave Cobra
Done that, doesn't work! Brave Cobra - Original Message - From: "Toby Dacre" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, May 16, 2001 3:29 AM Subject: Re: [PHP] Image Upload?? > > chmod the file or directory so that php can access it > > it doesn't run as you! > >

RE: [PHP] Missing Records

2001-05-16 Thread Don Read
On 15-May-01 William Poarch wrote: > Hi all, > > I have a setup where I populate one table as a temporary holding place for > data. When the user's session is complete, I want to transfer all that data > to a similar, permanent table. > > The strangeness is this - most of the time the data is a

[PHP] Re: php propaganda request

2001-05-16 Thread Sara Young
There are also PHP case studies at http://www.zend.com/zend/cs/ Sara On 15 May 2001, at 8:27, Philip Olson wrote: > > Greetings PHP friends, > > I'm compiling a list of PHP related propaganda, please send any that you > know of. Positive, Negative, Neutral ... all is welcome! ;-) Thus far :

[PHP] Deleting 1 file line

2001-05-16 Thread Tarrant Costelloe
Does anyone know what the code is, if you wanted to specify a specific line in a file to delete and also to wipe clean the entire file? Thanks in advance! Taz -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PRO

RE: [PHP] Uptime script?

2001-05-16 Thread Ben Cairns
>I know I've seen one before, and before I go write my own version, does >anyone know of a PHP script that echoes the uptime of a server (Linux) in >days,hour,minutes, etc? Does anyone know a script to do this under WinNT? -- Ben Cairns - Head Of Technical Operations intasept.COM Tel: 01332 3

Re: [PHP] need some ideas here...

2001-05-16 Thread James Holloway
Hi Christian, I have an account with f2s.com that I use for sampling scripts with - I set up a mailform yesterday after reading this, using mail() to send the email to myself. It got here - albeit 6am today (I sent it yesterday lunchtime) Perhaps you're using the mail() function incorrectly

Re: [PHP] Deleting 1 file line

2001-05-16 Thread elias
Good question. Never had to face such problems before... but what I can do actually is: 1) Read file into variable till i reach that line 2) Skip that line 3) Continue reading till eof 4) writting back the buffer to the file. Basically use file() then preg_replace() then fopen() fwrite() fclose()

[PHP] PHP for Win

2001-05-16 Thread elias
Any easy way to call Win32 API functions yet? -elias -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

RE: [PHP] Uptime script?

2001-05-16 Thread Patrik Wallstrom
On Wed, 16 May 2001, Ben Cairns wrote: > >I know I've seen one before, and before I go write my own version, does > >anyone know of a PHP script that echoes the uptime of a server (Linux) in > >days,hour,minutes, etc? > > Does anyone know a script to do this under WinNT? For Linux it is easy, ju

[PHP] zlib or gzip compression?

2001-05-16 Thread Alex Dupre
What are the differences between "output_handler = ob_gzhandler" and "zlib.output_compression = On" ? Alex Dupre -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To co

[PHP] Shopping with variables

2001-05-16 Thread Tarrant Costelloe
I am currently just messing around with a basic shopping cart, but have stumbled onto a problem. Bascially there is three input boxes all DVD, VIDEO, CD and these are also variables. Once the user has said they wanted "15" cd's for example, the form then takes them onto the shop.php. Which say's

[PHP] R: [PHP] Shopping with variables

2001-05-16 Thread Gabriele Biondo
> ?php print(" You have asked to purchase $dvd $video $cd 's - > Thank you") >? > > This prints out, "You have bought 16 - Thank you" for example, see the > problem? How do I get it to print the variable name not just it's value? Try with replacing your print with the following one: print("

Re: [PHP] Shopping with variables

2001-05-16 Thread Vitali Falileev
Hello Tarrant, Wednesday, May 16, 2001, 12:12:43 PM, you wrote: TC> ? TC> This prints out, "You have bought 16 - Thank you" for example, see the TC> problem? How do I get it to print the variable name not just it's value? Use -- Best regards, Vitalimailto:[EMAIL

[PHP] R: [PHP] Shopping with variables

2001-05-16 Thread Gabriele Biondo
> Thanks Gabriele :) Whilst waiting for your e-mail I figured out another > way...Thought I would show you it just in case you ever find the > need to use > this alternative: > >($dvd ? "DVD: $dvd ":''). > ($video ? "Video: $video ":''). > ($cd ? "CD's: $cd ":''). > "

RE: [PHP] Shopping with variables

2001-05-16 Thread Ralph Guzman
Might want to reconsider the way you are doing this, since this may not be the most efficient way. An alternative might be to do this as follows: In your web form set a field for Quantity and another for Item Name, so for example: ... Quantity: DVD VIDEO CD ... then when you process t

Re: [PHP] nested functions

2001-05-16 Thread Hannes Schmiderer
elias wrote: > good question...I might need an answer when you get one. Why? Ok, I have a perl-counter script which is included to shtml-pages with SSI. Now I want to add some PHP pages to my site. So I need a PHP-function that does the same as the perl-script does. In the script I have a lot of

Re: [PHP] Image Upload??

2001-05-16 Thread Brave Cobra
Maybe I ought to mention that I don't have direct access to this server. It's a F2S account, I'm trying to upload to. BC - Original Message - From: "Brave Cobra" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, May 16, 2001 10:01 AM Subject: Re: [PHP] Image Upload?? > Done t

[PHP] Detect screen size

2001-05-16 Thread Mark Lo \(3\)
Hi, I would like to know how to detect the screen size. I mean the viewing area. etc. 800x600, 1028x728... Thank you Mark -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list a

RE: [PHP] Detect screen size

2001-05-16 Thread Maxim Maletsky
With javascript of course. Again, go to look for the codes of these free tracking systems. Like Extreme tracker. They've got those. Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- Fro

[PHP] Mail List Manager?

2001-05-16 Thread José León Serna
Hello: Any good mail list manager?, that doesn't need read/write permissions to php, I have tested Ciao, but needs permissions, and I can't find another one. -- Best Regards Visual PHP Studio, RAD development with PHP http://www.visualphpstudio.com -- PHP General Mailing List

Re: [PHP] Image Upload??

2001-05-16 Thread Brave Cobra
And then I found the answer. The PHP module of the Apache server at F2S is running in Safe mode(like the error said), meaning that you can't do uploads in PHP. This safe mode prohibits that. The only alternative is uploading in CGI or Perl. Another challange to let PHP and CGI work together! BC -

[PHP] MySQL database

2001-05-16 Thread \[Inf\] F!RE-WALL
Yo, I'd like to use a MySQL database on my website. If I look at the PHP details of my site (see for yourself at http://infinity.shrimpwars.be/phpinfo.php) it says under the MySQL section: "enabled". Well, if I create a testpage with this as content: I get this: Warning: MySQL Connection Fail

RE: [PHP] Detect screen size

2001-05-16 Thread Rudolf Visagie
Hi,