[PHP] Re: Error Handler

2005-04-24 Thread Pinoy Ako
Noong 06:24 AM 4/23/2005, Ang sabi ni Richard Lynch... Is an undefined function one of the examples? If not, try one of those. I use the examples given in the example and it works but I'm not after errors inside a function. I'm trying to see, what if I forgot to create a function or what if I

[PHP] From form to db question

2005-04-24 Thread William Stokes
Hello, I writing a script that allows user to update a soccer league table with web form. I made a script that prints the old values to text fields in the form. It's done with a loop so that each text field name is numbered +1 higher than previous. My problem is how to put the changed data

Re: [PHP] Re:Re: [PHP] help for me about session

2005-04-24 Thread Steve Buehler
At 10:29 PM 4/23/2005, Josephson Tracy wrote: At 09:35 PM 4/23/2005, Josephson Tracy wrote: hi everyone, when i study php, i have a problem as following: - file1.php ? if($NextCourse == 1){ do something;} else($NextCourse ==){do something other } ?

Re: [PHP] Re:Re: [PHP] help for me about session

2005-04-24 Thread Josephson Tracy
I want to get the value of document.form1.NextCourse.value But I got the value of $NextCourse in last page. Steve Buehler [EMAIL PROTECTED] wrote: At 10:29 PM 4/23/2005, Josephson Tracy wrote: At 09:35 PM 4/23/2005, Josephson Tracy wrote: hi everyone, when i study php, i have a problem as

[PHP] Can not insert local language into db

2005-04-24 Thread JohnyG
Hi, I installed phpbb forum application on commercial server (brinkster.com) with mySql as database. You can see the application here: http://www.adeo.co.il/forum/ When i try to insert English characters everythink works fine but when i try to insert Hebrew (my local language) characters weird

Re: [PHP] htaccess file

2005-04-24 Thread Jochem Maas
Greg Donald wrote: On 4/21/05, Pieter du Toit [EMAIL PROTECTED] wrote: Is there any way that i can see if using htaccess file is enabled on server without contacting my isp. I created a htaccess file and ftp'd it to the server with the register_globals flag set to 0: php_admin_flag

Re: [PHP] I need do paging in php, I use ODBC Access

2005-04-24 Thread Jochem Maas
Richard Lynch wrote: On Fri, April 22, 2005 7:31 am, Matthew Weier O'Phinney said: Actually, LIMIT is in ANSI SQL. Either the ANSI standard changed, or Rasmus needs to update his Bio... http://lerdorf.com/bio.php ...he can be blamed for the ANSI92 SQL-defying LIMIT clause in mSQL 1.x which has

Re: [PHP] From form to db question

2005-04-24 Thread Richard Lynch
On Sun, April 24, 2005 3:26 am, William Stokes said: I writing a script that allows user to update a soccer league table with web form. I made a script that prints the old values to text fields in the form. It's done with a loop so that each text field name is numbered +1 higher than

Re: [PHP] Re: Error Handler

2005-04-24 Thread Richard Lynch
On Sun, April 24, 2005 12:58 am, Pinoy Ako said: Noong 06:24 AM 4/23/2005, Ang sabi ni Richard Lynch... Is an undefined function one of the examples? If not, try one of those. I use the examples given in the example and it works but I'm not after errors inside a function. I'm trying to see,

Re: [PHP] help for me about session

2005-04-24 Thread Richard Lynch
On Sat, April 23, 2005 7:35 pm, Josephson Tracy said: hi everyone, when i study php, i have a problem as following: - file1.php ? if($NextCourse == 1){ do something;} else($NextCourse ==){do something other } ? script language=javascript function hasNextCourse(){

Re: [PHP] Strange problem with picture Upload

2005-04-24 Thread Richard Lynch
On Sat, April 23, 2005 7:44 am, Labunski said: Hi guys, I have to say, I've written so many scripts that had file upload functions included, but this time something strange is happening. The script passes the IMAGE_TYPE check, and picture's name stores in the database (so I guess the

Re: [PHP] Strange problem with picture Upload

2005-04-24 Thread Richard Lynch
PS You are inserting the image info into the database even if it's not a valid JPEG or GIF and you are throwing it out -- That's probably NOT what you really want to do anyway. So even if that's not what is wrong in this case, your logic is a bit off in that part. On Sat, April 23, 2005 7:44

Re: [PHP] »Ø¸´:Re: [PHP] about session

2005-04-24 Thread Richard Lynch
On Sat, April 23, 2005 4:06 am, [EMAIL PROTECTED] said: that 's say I must session_register at fitst ,and use $_SESSION['time'] at secoend? In theory, these two are the same: ?php session_register('time'); $foo = time(); ? ?php $_SESSION['time'] = time(); ? However, the

Re: [PHP] paste part of mp3 to over an mp3

2005-04-24 Thread Richard Lynch
On Sat, April 23, 2005 3:16 am, QT said: Do you know any classes to paste some part of mp3 to over another mp3? http://www.getid3.org/ In addition to making it possible to add ID3 meta tags such as artist, album, copyright, etc, I'm pretty sure it will let you combine MP3s in various ways. If

Re: [PHP] Tesing Gzip files

2005-04-24 Thread Richard Lynch
On Sat, April 23, 2005 12:44 am, Prathaban Mookiah said: Is there a way to test if a .gz file is in a valid format. Functions like gzread, gzfile don't seem to care if the file is corrupt or not. gzeof also didn't work for me. I guess it is because it does not check for a valid .gz

Re: [PHP] Is it possible to save a file with UTF-8 encoding and no BOM using PHP?

2005-04-24 Thread Richard Lynch
On Fri, April 22, 2005 9:54 pm, Rasmus Lerdorf said: Maybe I'm just being dumb, but I think if you UTF-8 encode your data, and http://php.net/fwrite it, you're gonna get what you want... Dunno about the Byte-Order-Mark part, but I guess you could strip it out of the UTF-8 encoded data before

RE: [PHP] Re:Re: [PHP] help for me about session

2005-04-24 Thread Warren Vail
Looks like you are mixing JavaScript syntax with PHP, and that doesn't work since JavaScript runs on the browser machine, and PHP on the server (document.form.NextCourse.value is a syntax you will find in JavaScript, not PHP). Try something like this; ?php Startsession();

[PHP] help with install to one page only

2005-04-24 Thread Lisa A
I need help with this please. I've just got a calendar script that was simple to upload the files. I was told to just add this code into the page ( I want the calendar to go: d)Add the following lines in the file where you want HEC (Event Calendar) to be displayed ?php include

Re: [PHP] help with install to one page only

2005-04-24 Thread Drewcore
lisa, i think your problem may be simple enough... but if this doesn't work, i dunno... i'm guessing that you're using some webhost right? well... Note: Your file should be present in the same folder where HEC/ is present E.g: ~/testcal.php [your file where you want to display event calendar]