Re: [PHP] Re: Problem with menu

2002-07-01 Thread Analysis Solutions
On Mon, Jul 01, 2002 at 08:00:39PM -0400, Analysis Solutions wrote: Hi Richard: Oops. Meant to reply directly to Ricahrd. Sorry 'bout that. --Dan -- PHP classes that make web design easier SQL Solution | Layout Solution | Form Solution sqlsolution.info |

[PHP] Re: Problem with regular expressions

2002-06-25 Thread George Whiffen
Drew wrote: When I run the following script it returns String Okay! when it should say Invalid Characters Found. I've tried the script substituting $ for other characters, such as j, and it works just fine. What do I need to do? ?php $input = johnon@company.$com; if (ereg([$], $input))

[PHP] Re: Problem with compilation

2002-05-28 Thread David Robley
In article [EMAIL PROTECTED], [EMAIL PROTECTED] says... Hi, I'm trying to compile CGI version of latest PHP v4 (4.2.1) on Linux RH 6.2 kernel 2.2.14 with mysql client/server ver 2.22.49 and it always fails to compile while compiling mysql extension. I've included part with error message

[PHP] Re: Problem with mktime()

2002-05-20 Thread Jim Winstead
Johannes Tyra [EMAIL PROTECTED] wrote: $startDate['Jungfrau'] = mktime (0, 0, 0, 08, 24, 2000); $startDate['Waage'] = mktime (0, 0, 0, 09, 24, 2000); but with 'Jungfrau' AND 'Waage' something is wrong!! numbers with a leading zero are in octal format, and

[PHP] Re: problem with strtolower()

2002-05-17 Thread Martin Wickman
David Orn Johannsson wrote: I'm having a problem with StrToLower function in php I'm trying to convert characters like THORN; and acute letters from uppercase to lowercase, but it dosen't work. this is what the manual says: Note that 'alphabetic' is determined by the current locale.

[PHP] Re: Problem with sessions.

2002-05-13 Thread Michael Virnstein
php4 sessions or self made? own session_set_save_handler? Let us see the login code! Ok...that's how i would do it: After successful login i'd register a variable or set the registered variable to a specific value. Now i check on every page: If (!IsSet($_SESSION[myLoginVar] ) ||

[PHP] Re: Problem with new variable system in 4.2

2002-05-12 Thread andy
basicly this problem seems to result of the new way I do get the string from the url I used to get it with $PATH_INFO Now I do a $PATH_INFO = $_SERVER[REQUEST_URI]; which is not the same result. Does anybody know a equal command for $PHP_INFO ? ANdy Andy [EMAIL PROTECTED] schrieb im

[PHP] Re: Problem with fopen()

2002-04-30 Thread CC Zona
In article [EMAIL PROTECTED], [EMAIL PROTECTED] (Ben Turner) wrote: I am getting the error that I cannot create the file in the directory. I have tried chmod and chown on the directory but nothing is working for me. I have even gone so far as to make the owner of the directory apache and

[PHP] RE: Problem with array

2002-04-30 Thread Tim Ward
Try some diagnostics to tell you what's going on In the page you're submitting to try Foreach($HTTP_POST_VARS as $key=$value) echo($key=$valuebr); Part of your problem may be that you're using the number of form elements returned to control the for loop. It doesn't really have any significance

[PHP] Re: Problem reading in and displaying an image...

2002-04-02 Thread David Robley
In article [EMAIL PROTECTED], [EMAIL PROTECTED] says... I'm trying to read in a 1x1 pixel file and display it, basically to assist in setting 3rd party cookies (our other affiliated sites that don't follow under the same domain.. it's really sloppily set up, but thats another story).. The

[PHP] Re: Problem with strtotime() and 2002-03-31

2002-03-19 Thread Jim Winstead
John Clarke [EMAIL PROTECTED] wrote: Any ideas why this would be happening? because 2002-03-31 is 25 hours long in your time zone? http://www.dstc.qut.edu.au/DST/marg/daylight.html jim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Problem with strtotime() and 2002-03-31

2002-03-19 Thread John Clarke
Thanks guys. You were right. I have been playing around and just found an extra 3600 seconds on 31/3/2002.!!! Thats a trap for us young players. Will develop a creative fix. Does this mean that there is a day with only 23 hours somewhere Though this wouldnt cause a problem I guess. Thanks

RE: [PHP] Re: Problem with strtotime() and 2002-03-31

2002-03-19 Thread Martin Towell
To: [EMAIL PROTECTED] Subject: [PHP] Re: Problem with strtotime() and 2002-03-31 Thanks guys. You were right. I have been playing around and just found an extra 3600 seconds on 31/3/2002.!!! Thats a trap for us young players. Will develop a creative fix. Does this mean that there is a day with only

[PHP] Re: Problem with strtotime() and 2002-03-31

2002-03-19 Thread David Robley
In article [EMAIL PROTECTED], [EMAIL PROTECTED] says... Thanks guys. You were right. I have been playing around and just found an extra 3600 seconds on 31/3/2002.!!! Thats a trap for us young players. Will develop a creative fix. Does this mean that there is a day with only 23 hours

[PHP] Re: Problem function mail()

2002-03-14 Thread David Robley
In article 000a01c1cb5f$a5cdbca0$b850010a@AGA253DISUP004, [EMAIL PROTECTED] says... Hi, I have a problem in my build php-4.1.2. config.cache : ... ac_cv_path_PROG_SENDMAIL=${ac_cv_path_PROG_SENDMAIL=/usr/sbin/sendmail} ... When i run my script php the follow error happens:

[PHP] Re: problem with mysql persistent connections; already read the FAQ!

2002-03-08 Thread michael kimsal
Dustin Puryear wrote: We are running Apache 1.3.20 with PHP 4.0.6/rfc1876-patch built as a module. We are using PHP on a load-sharing cluster with n web servers. Our cluster supports an application that makes extensive use of mysql connections via the PHP mysql_* functions. The application

[PHP] Re: problem with mail()/html/outlook

2002-02-19 Thread Bharath Bhushan lohray
A program I had written to send notification to recievers when a greeting card was sent to them.. = ?php $msg=htmlheadtitleInd-e-glow Greetings./title/headbodyh3Dear Friend!/h3\nbrYou have an e greeting waiting for you at a

RE: [PHP] Re: problem with mail()/html/outlook

2002-02-19 Thread Jason Murray
This had worked without problems.. It sounds like the text encoding could be wrong. Using some encoding types, =charchar means something else. Maybe the charset you're using needs to be looked at? Jason -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] Re: problem with working with dates

2002-02-15 Thread Hugh Bothwell
but for some reason, no matter what the month, the first if statement (if current_month = 1) is seen as true and executes... any suggestions? Try using 'equivalence-equals' (==) instead of 'assignment-equals' (=). -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] Re: Problem

2002-01-30 Thread Mike Frazer
First, I recommend installing PHP4. There's a host of new features. Second, it sounds like your problem may be that you compiled PHP without mysql support. The command for PHP4 is, I believe, --with-mysql when you call the configure script. Get PHP 4.1.1 from the site (I downloaded it from

[PHP] Re: Problem in mysql connection

2002-01-26 Thread Alan McFarlane
What is the error message? (It will help us a lot G) Uma Shankari T. [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hello, I have installed php4 rpm in my machine.while connecting php with mysql it is giving fatal error.I have given like this

[PHP] Re: Problem with fopen / url

2001-12-18 Thread Chris Lee
sounds like php is having a problem resolving the dns. could be 1 of a 100 things ... try putting the IP of the machine in vs the domain name. -- Chris Lee [EMAIL PROTECTED] Martin Leclair [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi, I have a

[PHP] RE: problem finding out original filename while using php to upload.

2001-12-17 Thread Jerry Verhoef (UGBI)
You could also use the function getimagesize this will tell what kind of image it is, and if it is not an image it will return false. GD LIB is NOT needed for getimagesize. Kind Regards, Jerry Verhoef -Original Message- From: Daniel Grace [mailto:[EMAIL PROTECTED]] Sent: Monday,

[PHP] Re: Problem with Code

2001-12-16 Thread Phillip Oertel
Phillip B. Bruce wrote: 1. Is there any documentation that explains the differences between the versions of PHP? php4 : much more fun ! go use it ! the documentation will tell you on each function page in which php version the fuction was first available. 2. Does it matter when writing

[PHP] Re: problem finding out original filename while using php to upload.

2001-12-16 Thread Daniel Grace
Neil M [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I am using php to upload image files. heres my code .. ? if (is_uploaded_file($photo_file)) { clearstatcache (); $size = filesize ( $photo_file ) ; if ( $size 1024000 ) { print (BR ERROR -

[PHP] Re: problem with xgettext and php with javascript file

2001-11-16 Thread _lallous
this code seem incomplete: window.opener.document.celkem.cena_celkem.value = ? echo _(nìjaký blábol); ? } here's a fix: function zmen_cenu() { window.opener.document.celkem.cena_celkem.value = ? echo _(nìjaký blábol); ?; } Pavel NováK [EMAIL PROTECTED] wrote in message [EMAIL

[PHP] Re: problem with xgettext and php with javascript file

2001-11-16 Thread Pavel Novak
now it is the same problem without javascript: FIRST file includes only this row: input type=submit name=submit_dotaz value=?=_(Odeslat dotaz)? class=tlacitko SECOND file includes this: ?$str=_(Odeslat dotaz)? input type=submit name=submit_dotaz value=?=_$str? class=tlacitko When I use:

[PHP] Re: Problem with Header!

2001-11-16 Thread George Whiffen
Yeah, It seems to be a black art to get the browsers to behave properly. I don't know if it's relevant but I use Content-disposition and Content-type rather than Content-Disposition and Content-Type and it seems to work for me for inline;. I haven't tried inside;. If you really can't get it

[PHP] Re: problem with xgettext and php with javascript file

2001-11-16 Thread Pavel Novak
so I know where is the problem: input type=submit name=bla value=?=_(Odeslat dotaz)? gettext is seeking through all of strings in the file, it thinks that one string is: ?=_( and second: )? And it doesn't work even with this: value=?=_('Odeslat dotaz')? or this: value='?=_(Odeslat dotaz)?'

Re: [PHP] Re: problem with xgettext and php with javascript file

2001-11-16 Thread Rasmus Lerdorf
Note that you don't need to use xgettext to use gettext. It is simply a time-saver that generates a template .po file for you. You can easily create this text file yourself. -Rasmus On Fri, 16 Nov 2001, Pavel Novak wrote: so I know where is the problem: input type=submit name=bla

Re: [PHP] Re: Problem with non us caracters and strtr

2001-11-02 Thread Rodrigo Peres
I've tried the recode(), but I think I didn't uderstand it's functionality, since nothing happens. can someone has an idea in how to convert for example a string posted by a form in this format são paulo to this sao paulo?? Does anyone knows how Macintosh's browsers send this special caracteres

Re: [PHP] Re: Problem with non us caracters and strtr

2001-11-02 Thread Stefan Rusterholz
PROTECTED]; [EMAIL PROTECTED] Sent: Friday, November 02, 2001 2:51 PM Subject: Re: [PHP] Re: Problem with non us caracters and strtr I've tried the recode(), but I think I didn't uderstand it's functionality, since nothing happens. can someone has an idea in how to convert for example a string posted

Re: [PHP] Re: Problem with non us caracters and strtr

2001-11-02 Thread Rodrigo Peres
: Friday, November 02, 2001 2:51 PM Subject: Re: [PHP] Re: Problem with non us caracters and strtr I've tried the recode(), but I think I didn't uderstand it's functionality, since nothing happens. can someone has an idea in how to convert for example a string posted by a form in this format são

Re: [PHP] Re: Problem with non us caracters and strtr

2001-11-02 Thread pierre-yves
, AACOYaacooyy); return $ret; } hope it helps, py - Original Message - From: Stefan Rusterholz [EMAIL PROTECTED] To: Rodrigo Peres [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Friday, November 02, 2001 9:10 AM Subject: Re: [PHP] Re: Problem

Re: [PHP] Re: Problem with non us caracters and strtr

2001-11-02 Thread Rodrigo Peres
: Re: [PHP] Re: Problem with non us caracters and strtr I have little experience with this kind of problem. None of the Browsers I used under mac (IE 4 - 5 and sever NS 4.x) has sent the data different than Windows Browsers. But avoid the meta-tag charset. I had serious problems when the HTML

[PHP] Re: Problem with non us caracters and strtr

2001-11-01 Thread Yasuo Ohgaki
Rodrigo Peres wrote: Hi list, I'm in a big trouble. I'm brazilian, so I've made a script to clean up the special caracters from our language in order to not mess up my publisher, but this script don't work in Macintosh (macos 9.1, IE 5, all in american english). This is my code ?

[PHP] Re: Problem with From: and Reply to:

2001-10-29 Thread CC Zona
In article p05100304b802cdc3b801@[212.247.198.195], [EMAIL PROTECTED] (Per Hugosson) wrote: I cant get it to show up in the From:-line. Instead I get From: Apache... which is totally wrong of course. Our auto-reply goes to [EMAIL PROTECTED] instead of to the senders adress. What do I

Re: [PHP] Re: Problem redirecting

2001-10-28 Thread Nikola Karovi
You have to put Header( "Location:http://www.mydomain.com/mypage.html"); on top of your php code - Original Message - From: Justin Garrett [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: 28. listopad 2001 07:00 Subject: [PHP] Re: Problem redirecting From the manual:

[PHP] Re: Problem redirecting

2001-10-27 Thread Justin Garrett
From the manual: Remember that the header() function must be called before any actual output is sent, either by normal HTML tags blank lines in a file, or from PHP. This is the cause of your error. Something is sending output before your call to header(); -- Justin Garrett Don [EMAIL

[PHP] Re: Problem with sem_get and semaphores

2001-10-04 Thread Richard Lynch
It *should* be able to... That's the whole point of the darn things. :-) Is 0x576a the correct key?... Sure PHP isn't treating that as a string or something? -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna help me out? Like Music? Buy a CD:

[PHP] Re: Problem with file permissions within my PHP document when running on an Apache web server

2001-10-02 Thread Richard Lynch
You'll need to use suExec to wrap around PHP. http://apache.org will have docs on suexec. -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time:

[PHP] Re: problem about ereg function

2001-10-02 Thread Richard Lynch
You really shouldn't be storing a PHP variable in your database... Too easy for a hacker to get some bad PHP into it. You could mess with http://php.net/eval maybe. -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna help me out? Like Music? Buy a CD:

[PHP] Re: problem with arrays. Please Help!!

2001-09-26 Thread ewunia
Hello, But can you be more specific what I need to do with this function? How to use it in the context? Thanks Pedja [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... function array_search ($needle, $haystack, $strict = FALSE) foreach (array_keys($haystack) as

[PHP] Re: problem with arrays. Please Help!!

2001-09-25 Thread Pedja
mixed array_search (mixed needle, array haystack, bool strict) Searches haystack for needle and returns the key if it is found in the array, FALSE otherwise. If the third parameter strict is set to TRUE then the array_search() will also check the types of the needle in the haystack. function

[PHP] Re: problem with arrays. Please Help!!

2001-09-25 Thread Pedja
function array_search ($needle, $haystack, $strict = FALSE) foreach (array_keys($haystack) as $key) { if ($strict) { if ($haystack[$key] === $needle) return $key; } else { if ($haystack[$key] == $needle) return $key; } } return FALSE; } Ewunia [EMAIL PROTECTED] wrote in message

[PHP] Re: Problem with ImageMagick and PHP on Windows

2001-09-21 Thread Richard Lynch
You don't have newlines in $cmd, do you??? Don't do that. You may also need to http://php.net/setenv to set up PATH so that identify.exe can find whatever filter/DLL/plug-in thingie it needs to find to do EPS files, identify.exe uses that kind of plug-in architecture. -- WARNING [EMAIL

[PHP] Re: problem uploading files

2001-09-19 Thread Paul Morin
Any help would be appreciated Paul Morin [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I have a problem with file uploads in php. My code seems to run fine if I am on the local area network but seems to fail when I try from the outside. My server seems to

[PHP] Re: Problem: lost session id when htaccess'ing.

2001-09-18 Thread Chris Lee
- you have cookie support on or off ? - you using any header redirects ? (you have to manually add the SID to URI's) send some src and a link. lets see whats going on. -- Chris Lee [EMAIL PROTECTED] Lic. Rodolfo Gonzalez Gonzalez [EMAIL PROTECTED] wrote in message [EMAIL

Re: [PHP] Re: Problem: lost session id when htaccess'ing.

2001-09-18 Thread Lic. Rodolfo Gonzalez Gonzalez
On Tue, 18 Sep 2001, Chris Lee wrote: - you have cookie support on or off ? - you using any header redirects ? (you have to manually add the SID to URI's) Sorry for the lenght of this mail. PHP compiled with --enable-trans-id, so PHP adds SID to the URL. session.use_cookies = 0,

Re: [PHP] Re: Problem with Rename() and linux - update

2001-09-16 Thread Gaylen Fraley
working with should be chown'ed to www.www Remember not to 'adduser' to accomplish this, you dont want anyone actually logging in as www :) Hope this helped a little. From: Gaylen Fraley [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, September 16, 2001 2:07 PM Subject: [PHP] Re:

[PHP] Re: Problem installing PHP on RH7.1

2001-09-16 Thread Tad
Nevermind, I made a stupid mistake. Tad [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I am setting up a box to run Apache + mod_ssl + MySQL + PHP. Apache is configured with DSO support and everything goes fine until I do make inststall in the php source

[PHP] Re: problem with form values

2001-09-12 Thread Adam
show us a snippet so we can evaluate the cause -A -- 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] Re: problem with form values

2001-09-12 Thread Niklas Lampén
better search engine. How to do that? Niklas -Original Message- From: Adam [mailto:[EMAIL PROTECTED]] Sent: 12. syyskuuta 2001 11:24 To: [EMAIL PROTECTED] Subject: [PHP] Re: problem with form values show us a snippet so we can evaluate the cause -A -- PHP General Mailing List (http

[PHP] RE: problem with form values

2001-09-12 Thread Niklas Lampén
How to do anything to the strings in php BEFORE the form is sent? Niklas -Original Message- From: James Holloway [mailto:[EMAIL PROTECTED]] Sent: 12. syyskuuta 2001 11:28 To: Niklas lampén Subject: Re: problem with form values Hi Niklas, use htmlentities() or htmlspecialchars() on

[PHP] Re: problem with form values

2001-09-12 Thread James Holloway
Sorry, I didn't mean it quite like that. After the user presses submit $string = htmlentities($string); // now, do whatever with the string J - Original Message - From: Niklas Lampén To: James Holloway ; Php-General Sent: Wednesday, September 12, 2001 9:52 AM Subject:

Re: [PHP] Re: problem with form values

2001-09-12 Thread Adam
i would say do this urlencode the string (it should use %22 or something for the quote marks) then un encode on the recieving page -- one thing you might try is this $sql = 'SELECT * FROM whatever WHERE'; while ( $quotes = explode('', $Keywords) ) { $q = 0; $s = 0;

RE: [PHP] Re: problem with form values

2001-09-12 Thread Niklas Lampén
like onSubmit=blah(). Niklas -Original Message- From: James Holloway [mailto:[EMAIL PROTECTED]] Sent: 12. syyskuuta 2001 12:01 To: Niklas Lampén Cc: [EMAIL PROTECTED] Subject: [PHP] Re: problem with form values Sorry, I didn't mean it quite like that. After the user presses submit

Re: [PHP] Re: problem with form values

2001-09-12 Thread Jason Bell
-General [EMAIL PROTECTED] Sent: Wednesday, September 12, 2001 3:08 AM Subject: RE: [PHP] Re: problem with form values Heh, we seem to have a bit of a problem with communicating with each other.. :) What I ment with the question is that how can I do something to the string before the form sends

[PHP] Re: Problem regarding select boxes

2001-09-11 Thread _lallous
IT's something like that friend, html head title New Document /title /head body onload=hidelb(); script language=JavaScript !-- function hidelb() { o = document.all[lb1]; if (test.phone.selectedIndex==1) o.style.display = none; else o.style.display = ; } //--

[PHP] Re: problem in the small code

2001-09-11 Thread Robin Vickery
[EMAIL PROTECTED] (Balaji Ankem) writes: What is the problem with following code.. $sql1=DELETE from tinventory where inv_tag='$inv_tag'; no closing doublequote. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

[PHP] Re: Problem with session_destroy

2001-09-11 Thread Richard Lynch
The file isn't written out until the end of your script, and you're trying to kill it?... Since you haven't registered any variables nor set them, deleting the session doesn't seem like a big deal... What's your overall design goal here? -- WARNING [EMAIL PROTECTED] address is an endangered

[PHP] Re: problem in downloading manual

2001-09-10 Thread _lallous
Did you try to dload the manual from PHP site's mirrors? S.Maria Goretti20010808 [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi All, I am trying to download php mauals. but I couldn't suceed as the server is displaying the message as Server is Busy and

[PHP] Re: Problem with header()

2001-09-05 Thread _lallous
I'm not sure if this will help but try putting an ob_start() as the first line, and just flush the output and redirect with Header() Alex Shi [EMAIL PROTECTED] wrote in message 00e801c135bb$2f75a480$0105050a@pony">news:00e801c135bb$2f75a480$0105050a@pony... Hi, Can anyone tell me why header()

Re: [PHP] Re: problem with ereg() and ereg_replace()

2001-09-04 Thread Alex Shi
] Re: problem with ereg() and ereg_replace() In article 01b201c13354$0ca601c0$0105050a@pony, [EMAIL PROTECTED] (Stonix) wrote: ereg_replace( {key}, word, $a_string); The web server will return following warnning msg: Warning: Invalid content of \{\} in /var/www/html/scrip.php on line

[PHP] Re: Problem with PHP_SELF

2001-09-03 Thread CC Zona
In article [EMAIL PROTECTED], [EMAIL PROTECTED] (David Otton) wrote: I get a error - Warning: Undefined variable: PATH_INFO in [scriptname] on line 13 Is there any situation where such variables would be available to phpinfo(), but not the rest of the script? Yes, where $PATH_INFO is

[PHP] Re: problem with ereg() and ereg_replace()

2001-09-01 Thread CC Zona
In article 01b201c13354$0ca601c0$0105050a@pony, [EMAIL PROTECTED] (Stonix) wrote: ereg_replace( {key}, word, $a_string); The web server will return following warnning msg: Warning: Invalid content of \{\} in /var/www/html/scrip.php on line # In regex, the curly braces are special

[PHP] Re: Problem with microtime()

2001-08-31 Thread _lallous
string microtime(void); you see? you're casting from a string to int by your code: (int) microtime(); you can do: $k = microtime() w/o the (int) Rosen [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi, I'm using the following code: for ($i = 0; $i 100;

[PHP] Re: Problem using session

2001-08-28 Thread Rosen
And one question: Should I use session_start() in every php file on my site ? Thanks, Rosen -- 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

Re: [PHP] Re: Problem using session

2001-08-28 Thread Frank Loewenthal
On Tuesday 28 August 2001 02:20 pm, you wrote: And one question: Should I use session_start() in every php file on my site ? Thanks, Rosen Yes! -- SFI Technology Services AG Dr. F. Loewenthal Stettbachstrasse 10 CH-8600 Dübendorf Switzerland [EMAIL PROTECTED] www.sfi.ch +41/1-824 49 00

Re: [PHP] Re: Problem using session

2001-08-28 Thread hassan el forkani
yes and be carefull to put that before any aoutput is sent to the browser (even a blank space is an output) regards At 14:20 28/08/01, Rosen wrote: And one question: Should I use session_start() in every php file on my site ? Thanks, Rosen -- PHP General Mailing List

[PHP] Re: problem with $HTTP_POST_FILES

2001-08-22 Thread bill
If they're empty but phpinfo displays them you're probably inside a function and haven't declared HTTP_POST_FILES as global. Jason Dulberg wrote: I am working on an image upload script and I've tried to use the variables from $HTTP_POST_FILES however it seems that no matter how I try to get

[PHP] RE: problem with $HTTP_POST_FILES

2001-08-22 Thread Jason Dulberg
Now I just feel like an idiot... that was the answer! I had all the other globals registered but that one. Thanks for your time! Jason. If they're empty but phpinfo displays them you're probably inside a function and haven't declared HTTP_POST_FILES as global. Jason Dulberg wrote: I

[PHP] Re: problem with a hacker

2001-08-16 Thread Hugh Bothwell
Craig Henderson [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... My question is, is there anything that I can do so that only PHP scripts on the server are able to access the file? Or am I going to have to contact my hosting company and see if they can figure

[PHP] Re: problem with a hacker

2001-08-16 Thread CC Zona
In article [EMAIL PROTECTED], [EMAIL PROTECTED] (Craig Henderson) wrote: Today a hacker managed to overwrite the text file I was using to store all the messages, which really isn't that big a surprise considering the permissions to the folder it is kept in are wide open thanks to my hosting

[PHP] Re: Problem with Zend Optimizer

2001-08-13 Thread Richard Lynch
You probably should take this to Zend support and/or their forums if nobody here knows it. That said, *WHERE* is libm.so.5, and where are they likely to be looking for it?... Make some SymLinks to it in the usual places until it works. Disclosure: I used to *BE* Zend support :-) -- WARNING

[PHP] Re: Problem

2001-07-17 Thread tttk
header(location:name_page.asp); Rhony V. [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... In Asp i have this response.redirect name_page.asp, it's used to go to another page what is the similar function in PhP? Regards -- PHP General Mailing List

[PHP] Re: Problem with cookie

2001-07-16 Thread Yasuo Ohgaki
IE does not accept cookie expires less than 7200 sec. Someone mentioned it before. (I don't verified this) Is this true? -- Yasuo Ohgaki Mihailo Dzigurski [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hello, I need cookie that will expire in 15 mins. My

Re: [PHP] Re: Problem with cookie

2001-07-16 Thread Justin Farnsworth
You may have different behaviour between browsers, but you are never going to be able to use this method reliably because of the vagaries of times encountered on the client side. Just look at the postings to this list, supposedly more sophisticated computer users, as some postings are dated 1972,

Re: [PHP] Re: Problem with cookie

2001-07-16 Thread Yasuo Ohgaki
Justin Farnsworth [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... You may have different behaviour between browsers, but you are never going to be able to use this method reliably because of the vagaries of times encountered on the client side. Just look at the

[PHP] Re: Problem Inserting Array of Rows from form

2001-07-15 Thread James Tan
dear david, did u know u do not need to put single quote to enclose number type value?? notice ur field select syntax: INSERT INTO songs VALUES (' 1 // -- 1 is not enclosed with end quote... thus makes only 5 fields, not 6 , blah', ' ***', ' 45', ' 2', ' ') id[0]=: 2 try INSERT INTO songs

Re: [PHP] Re: Problem Inserting Array of Rows from form

2001-07-15 Thread David
I will try without single quotes for the id and other fields which have numeric values. For the original issue I was missing two single quotes. I was missing a single quote in the $val line after $id[$i] and before songname : I really don't need the quote for id since it is a numeric value. Here

[PHP] Re: Problem with cookies

2001-03-23 Thread wx
Well, I got it fixed, I was told PHP is picky about cookies, so I was told to make it redirect to the same page (so i just put a header(Location: $PHP_SELF);, and it works - rob

<    1   2   3   4