php-general Digest 3 Apr 2006 12:10:08 -0000 Issue 4050

2006-04-03 Thread php-general-digest-help
php-general Digest 3 Apr 2006 12:10:08 - Issue 4050 Topics (messages 233091 through 233112): Re: microsoft PHP ? 233091 by: Chris Shiflett 233092 by: Joe Wollard 233093 by: Matt Richards 233094 by: Matt Richards 233095 by: Joe Wollard 233108

Re: [PHP] Best authentication method for user

2006-04-03 Thread Alain Roger
ok, but how to make a non-logged user executes some stored procedures or Queries ? MySQL will need some login and password for that. so, that's why i've asked such question...how and where to store this non-logged user's info (login, password) to not make physical user type them ? (this must be

Re: [PHP] microsoft PHP ?

2006-04-03 Thread Ryan A
Hey, Just as long as everyone knows that everything I said was all in good fun. Next time I'll be sure to use sarcasam just to be sure nothing is taken the wrong way ;-)Its quite strange actually how touchy so many people have gotten... becauseas I read the whole comeback joke I thought it was

[PHP] PHP AJAX Framework - Suggestions Please

2006-04-03 Thread [EMAIL PROTECTED]
Hi, Anyone can suggest me which PHP AJAX framework you are using, for what reason(s), what are pros and cons of your particular choice. I found many, and now facing difficult choice. BTW, how do you pass session id between calls to PHP from JavaScript (cookies or explicit

Re: [PHP] Best authentication method for user

2006-04-03 Thread chris smith
On 4/3/06, Alain Roger [EMAIL PROTECTED] wrote: ok, but how to make a non-logged user executes some stored procedures or Queries ? MySQL will need some login and password for that. so, that's why i've asked such question...how and where to store this non-logged user's info (login, password)

Re: [PHP] Best authentication method for user

2006-04-03 Thread Alain Roger
I suppose that this config file should be included in all PHP file via include command. is it true ? On 4/3/06, chris smith [EMAIL PROTECTED] wrote: On 4/3/06, Alain Roger [EMAIL PROTECTED] wrote: ok, but how to make a non-logged user executes some stored procedures or Queries ? MySQL

Re: [PHP] MySQL close connection, what's the purpose?

2006-04-03 Thread tedd
chris said: Time. Opening a db connection is time consuming. There are many levels involved (making the connection, authentication, etc).. Even worse if the connection is over tcp/ip because that overhead comes in on top as well. I replied: Have you timed it? Maybe I'll do that tomorrow.

Re: [PHP] Looping information into a table

2006-04-03 Thread tedd
i am creating a forum and i am having trouble getting the database information in to an html table i believe it has somthing to do with the placement of the while loops because they repeat the segment of code over untill the statment returns false, thus adding extra html.. you guys are the

Re: [PHP] MySQL close connection, what's the purpose?

2006-04-03 Thread chris smith
On 4/3/06, tedd [EMAIL PROTECTED] wrote: chris said: Time. Opening a db connection is time consuming. There are many levels involved (making the connection, authentication, etc).. Even worse if the connection is over tcp/ip because that overhead comes in on top as well. I replied: Have

Re: [PHP] Best authentication method for user

2006-04-03 Thread chris smith
On 4/3/06, Alain Roger [EMAIL PROTECTED] wrote: I suppose that this config file should be included in all PHP file via include command. is it true ? Yes. I'd actually use 'require' not 'include' since you always want it to be there. -- Postgresql php tutorials http://www.designmagick.com/

[PHP] Re: PHP AJAX Framework - Suggestions Please

2006-04-03 Thread Manuel Lemos
Hello, on 04/01/2006 12:00 PM Andrei Verovski (aka MacGuru) said the following: Anyone can suggest me which PHP AJAX framework you are using, for what reason(s), what are pros and cons of your particular choice. I found many, and now facing difficult choice. BTW, how do you pass session

[PHP] curl http file upload post

2006-04-03 Thread webmaster
I am trying to upload a file to a remote server using curl and post method here is what I have: $file = $dir..$dbfile[0]; $this-invoiceno = $dbfile[1]; $uploadpath = http://www.website.com; $postvar = array (); $postvar['cboFileType'] = 837; $postvar['txtDesc'] = Invoice

Re: [PHP] Re: PHP AJAX Framework - Suggestions Please

2006-04-03 Thread Ruben Rubio Rey
The best and simplest for me is prototype.js Is much more than ajax ! 100% cross browser! ang GPL! http://www.sergiopereira.com/articles/prototype.js.html -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] connection error on file upload

2006-04-03 Thread Kenn
Greetings. I'm having a problem with my upload handler. If I send small files (under 1M or so), it works fine. if I send larger files, I get the following error in Firefox: The connection was reset. The connection to the server was reset while the page was loading. When using Internet

RE: [PHP] connection error on file upload

2006-04-03 Thread Jay Blanchard
[snip] The connection was reset. The connection to the server was reset while the page was loading. [/snip] Script timeout Max upload size -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] MSSQL Server 2005

2006-04-03 Thread Mike Smith
I am currently working on a project using SQL Server 2000. I don't think there would be a big advantage to switching to sql server 2005 for this project, but is anyone using 2005 (or one of the Express versions) with PHP? Looks like it only uses the native client? -- Thanks, Mike Smith -- PHP

[PHP] utf8 problem

2006-04-03 Thread Merlin
Hi there, I am trying to encode output with php with uft8_encode(); and then output it to an xml file. Unfortunatelly this does not work as the string that has been encoded by utf8_encode is not valid utf8?! Merlin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] connection error on file upload

2006-04-03 Thread Kenn
That was my first thought, but two things: 1. the error occurs IMMEDIATELY, and 2. the max_execution_time = 6000 so I would think that arbitrarily high number would prevent that error? Jay Blanchard wrote: [snip] The connection was reset. The connection to the server was reset while the

Re: [PHP] connection error on file upload

2006-04-03 Thread Kenn
neglected to mention: upload_max_filesize = 200M post_max_size = 250M Kenn wrote: That was my first thought, but two things: 1. the error occurs IMMEDIATELY, and 2. the max_execution_time = 6000 so I would think that arbitrarily high number would prevent that error? Jay Blanchard

[PHP] Here is a silly question

2006-04-03 Thread Mace Eliason
Hi, This is come thing that I have struggled with now and again. I usaually us php code to make it work, but was wondering how others deal with this I use includes in most of the web applications that I work on to include the header, footer, menu etc. The problem that I always run into as

Re: [PHP] Here is a silly question

2006-04-03 Thread Sudheer S
Hello, I refer to the target file like this: ?php include $_SERVER['DOCUMENT_ROOT'] . '/menu_dir/menu.php'; ? Solves the problem. Sudheer. S On Mon, 2006-04-03 at 09:54 -0600, Mace Eliason wrote: Hi, This is come thing that I have struggled with now and again. I usaually us php code to

Re: [PHP] Here is a silly question

2006-04-03 Thread Wolf
I tend to stick /nav/header.php in for my includes, since I control the server. As long as the site translates root to the main directory of your website and not somewhere else, you can always have your links be /menu.php as server-speak / means rootme. I also use / in my href links in my menus

Re: [PHP] Here is a silly question

2006-04-03 Thread Philip Thompson
On Apr 3, 2006, at 10:54 AM, Mace Eliason wrote: Hi, This is come thing that I have struggled with now and again. I usaually us php code to make it work, but was wondering how others deal with this I use includes in most of the web applications that I work on to include the header,

Re: [PHP] connection error on file upload

2006-04-03 Thread Kenn
Jay Blanchard wrote: [snip] Jay Blanchard wrote: [snip] That was my first thought, but two things: 1. the error occurs IMMEDIATELY, and 2. the max_execution_time = 6000 so I would think that arbitrarily high number would prevent that error? [/snip] If it occurs

Re: [PHP] Here is a silly question

2006-04-03 Thread Philip Thompson
I'm not exactly sure... but I think that include() may not work this way: ? include (/menu.php); ? I don't think it knows to go to the root and then look for menu.php. That's why you have to tell it exactly where the menu.php is found - 1 level back: ? include (../menu.php); ? Maybe it

Re: [PHP] microsoft PHP ?

2006-04-03 Thread Matt Richards
I wonder how long this is gonna go on for, its ironic that the name 'Microsoft' seems to spread through this mailing list just like it spreads through peoples computers ... humm another thing that implies the same rule is a virus ! derm derm drm... Ryan A wrote: Hey, Just as long

Re: [PHP] Here is a silly question

2006-04-03 Thread Wolf
?php include(/nav/menu.html) ? works like a charm for me, but your mileage may vary depending on who has set up your website and what server it is being run on. FYI: I build my menu's with HTML and javascript, hence the .html call, but it should be fine as php as well. Robert Philip Thompson

Re: [PHP] Here is a silly question

2006-04-03 Thread Tom Chubb
I'm very interested to see the best option for this. Currently I set 2 variables in the include file (header.inc) $siteurl = http://www.yourdomain.com/ http://www.yourdomain.com/psp/; $pathto = /home/location_on_server/public_html/; Then for includes I do something like:

[PHP] Form to form variables

2006-04-03 Thread Bill Whitacre
I wonder if I may trouble you'all for some advice. I'm having a problem bringing along text variables with more than one word in them from form to form. The project is an on-line baseball score pitching log submission form that I'm trying to make a little more automated. The first form asks

Re: [PHP] Form to form variables

2006-04-03 Thread Wolf
You aren't encapsulating your data with quotes, so it is thinking the next word is another variable. input type = hidden name = IDFIELD value = $thearray[id] input type = hidden name = yourleague value = $league input type = hidden name = yourteam value = $team

Re: [PHP] MySQL close connection, what's the purpose?

2006-04-03 Thread tedd
chris said: Just out of interest, could you re-run the test using persistent connections? change mysql_connect to mysql_pconnect.. In doing so, the overall results dropped from a tenth of a second difference between both methods to three-one-hundredths of a second difference. In other

[PHP] GD

2006-04-03 Thread Horányi Gergő
Hi! I have a very big problem with GD. I want to make a picture which includes two pictures. And anybody can download it by right click and save as. How can i do this? Please help! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] MySQL close connection, what's the purpose?

2006-04-03 Thread Richard Lynch
On Mon, April 3, 2006 1:33 pm, tedd wrote: Just out of interest, could you re-run the test using persistent connections? change mysql_connect to mysql_pconnect.. In doing so, the overall results dropped from a tenth of a second difference between both methods to three-one-hundredths of a

Re: [PHP] utf8 problem

2006-04-03 Thread tedd
At 5:39 PM +0200 4/3/06, Merlin wrote: Hi there, I am trying to encode output with php with uft8_encode(); and then output it to an xml file. Unfortunatelly this does not work as the string that has been encoded by utf8_encode is not valid utf8?! Merlin Merlin: I'm not sure as to what

Re: [PHP] connection error on file upload

2006-04-03 Thread tedd
At 10:20 AM -0500 4/3/06, Kenn wrote: Greetings. I'm having a problem with my upload handler. If I send small files (under 1M or so), it works fine. if I send larger files, I get the following error If nothing else works, send smaller segments. Nothing wrong with appending to a file, is

[PHP] Re: mysql_fecth_array() and function call as parameter

2006-04-03 Thread Jon Drukman
Paul Goepfert wrote: function determineDay () { $return = ; $query1 = mysql_query(SELECT months FROM Month WHERE m_id = month(curdate())); $query2 = mysql_query(SELECT dayNum FROM Days WHERE dayNum = day(curdate()));

Re: [PHP] Here is a silly question

2006-04-03 Thread David Tulloh
I put all the generic include files such as the header and menu in their own directory. Then I put that directory in the include_path ini variable. I would normally set it in the virtualhost file but .htaccess should work as well, you can even set it in the script. This means I can simply

Re: [PHP] Here is a silly question

2006-04-03 Thread tedd
At 9:54 AM -0600 4/3/06, Mace Eliason wrote: Hi, This is come thing that I have struggled with now and again. I usaually us php code to make it work, but was wondering how others deal with this I use includes in most of the web applications that I work on to include the header, footer,

Re: [PHP] GD

2006-04-03 Thread Richard Collyer
I have a very big problem with GD. I want to make a picture which includes two pictures. And anybody can download it by right click and save as. How can i do this? Please help! Please go away and re-write the question so that we have an idea of what you are after. Without more information

Re: [PHP] Here is a silly question

2006-04-03 Thread Peter Hoskin
Nobody else has mentioned it, so I thought I would. http://smarty.php.net - PHP Templating Engine Mace Eliason wrote: Hi, This is come thing that I have struggled with now and again. I usaually us php code to make it work, but was wondering how others deal with this I use includes in

[PHP] Strtodate() bug?

2006-04-03 Thread Jay Paulson
Hello, I've got some weird behavior using PHP 4.3.9. I use the function of strtotime(last Sunday); and it's returning the timestamp for last Saturday. However, if I use strtotime(-1 day); (I'm running this program on a Monday) it returns the correct timestamp for Sunday. Is this a bug in PHP

Re: [PHP] Strtodate() bug?

2006-04-03 Thread Philip Hallstrom
I've got some weird behavior using PHP 4.3.9. I use the function of strtotime(last Sunday); and it's returning the timestamp for last Saturday. However, if I use strtotime(-1 day); (I'm running this program on a Monday) it returns the correct timestamp for Sunday. Is this a bug in PHP 4.3.9?

[PHP] GD No.2

2006-04-03 Thread Horányi Gergő
Ok. I'm sorry. I will try to explain my problem in a better way. I wan't to make a page which can makes secret writting. It would translate the normal characters into my special characters. And I want to put the result into one JPG file. So. I want to join together some JPEGs. And this is my

RE: [PHP] GD No.2

2006-04-03 Thread Jay Blanchard
[snip] Ok. I'm sorry. I will try to explain my problem in a better way. I wan't to make a page which can makes secret writting. It would translate the normal characters into my special characters. And I want to put the result into one JPG file. So. I want to join together some JPEGs. And this

Re: [PHP] Here is a silly question

2006-04-03 Thread tedd
At 5:56 AM +1000 4/4/06, Peter Hoskin wrote: Nobody else has mentioned it, so I thought I would. http://smarty.php.net - PHP Templating Engine And that goes somewhere? tedd -- http://sperling.com -- PHP

[PHP] Searching for Duplicated records..

2006-04-03 Thread Alberto Ferrer
Hello all, how i search duplicates records on a TXT file ? Thanks in Advance. -- bet0x -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Searching for Duplicated records..

2006-04-03 Thread John Nichel
Alberto Ferrer wrote: Hello all, how i search duplicates records on a TXT file ? Thanks in Advance. Use your imagination. Try starting with the filesystem functions. -- John C. Nichel IV Programmer/System Admin (ÜberGeek) Dot Com Holdings of Buffalo 716.856.9675 [EMAIL PROTECTED] -- PHP

Re: [PHP] Here is a silly question

2006-04-03 Thread Peter Hoskin
Site must be down... search google for site:smarty.php.net Believe me, it does exist. tedd wrote: At 5:56 AM +1000 4/4/06, Peter Hoskin wrote: Nobody else has mentioned it, so I thought I would. http://smarty.php.net - PHP Templating Engine And that goes somewhere? tedd -- PHP General

Re: [PHP] Here is a silly question

2006-04-03 Thread Wolf
Well, it did, looks like someone's having server issues or forgot to pay the bill. Anyways, here's Google's cache of it: http://72.14.203.104/search?q=cache:cFUJ1uuABpkJ:smarty.php.net/+php+SMARTYhl=engl=usct=clnkcd=1client=firefox-a tedd wrote: At 5:56 AM +1000 4/4/06, Peter Hoskin wrote:

RE: [PHP] GD No.2

2006-04-03 Thread Jay Blanchard
[snip] Yeah. I read that. But I don't want to learn the whole GD. I thought someone could help me. Someone, who knows GD. [/snip] Someone can help you, but they probably will not write your code for you. You have only asked general questions, and so you have gotten general answers. If you are

[PHP] Re: PHP AJAX Framework - Suggestions Please

2006-04-03 Thread Andrei Verovski (aka MacGuru)
Hi, Many thanks for everyone who have replied. Its seems Manuel's suggestion regarding iFrame sounds really good. BTW, I am using Savant as template engine, and integrate it with Manuel Forms Generation and Validation would be a good idea (there is a Smarty plugin for this class, but I am

Re: [PHP] return path of mail function

2006-04-03 Thread Curt Zirzow
On Sun, Apr 02, 2006 at 10:34:48PM -0700, [EMAIL PROTECTED] wrote: The same as before: Return-path: [EMAIL PROTECTED] Envelope-to: [EMAIL PROTECTED] Delivery-date: Mon, 03 Apr 2006 00:35:34 -0500 Received: from nobody by amsterdam.servershost.net with local (Exim 4.52)

Re: [PHP] MySQL close connection, what's the purpose?

2006-04-03 Thread Jasper Bryant-Greene
tedd wrote: chris said: Just out of interest, could you re-run the test using persistent connections? change mysql_connect to mysql_pconnect.. [snip] Thanks -- does the persistent connection thing hold the server up until released? How does that work? MySQL is threaded so will not be

[PHP] ID-tags from picture?

2006-04-03 Thread Gustav Wiberg
Hi guys! If I've got this right, there will be some kind of tag that is saved in a picture (hidden). Is it possible to retrieve this information from PHP and what it is called? Any ideas / suggestions would be approciated! /Gustav Wiberg -- PHP General Mailing List (http://www.php.net/)

[PHP] Re: PHP AJAX Framework - Suggestions Please

2006-04-03 Thread Manuel Lemos
Hello, on 04/03/2006 06:25 PM Andrei Verovski (aka MacGuru) said the following: Many thanks for everyone who have replied. Its seems Manuel's suggestion regarding iFrame sounds really good. BTW, I am using Savant as template engine, and integrate it with Manuel Forms Generation and Validation

[PHP] Multidimentional array problems

2006-04-03 Thread Mace Eliason
Hi, I am trying to read form a database and place everything in a multi-dimentional array This is what I am doing and the output (for testing) seems correct while($row=mysql_fetch_array($result)) { $banner= array($arrayIndex = $row); echo $banner[$arrayIndex][image]. br; echo

Re: [PHP] Multidimentional array problems

2006-04-03 Thread Philip Hallstrom
I am trying to read form a database and place everything in a multi-dimentional array This is what I am doing and the output (for testing) seems correct while($row=mysql_fetch_array($result)) { $banner= array($arrayIndex = $row); echo $banner[$arrayIndex][image]. br; echo

[PHP] Re: mysql_fecth_array() and function call as parameter

2006-04-03 Thread Paul Goepfert
I included the or die function on the end of my query statement. When I tested this on my web page I got the following error Query2 Failed: You have an error in your SQL syntax near '(curdate())' at line 1 When this code executed: $query2 = mysql_query(SELECT dayNum FROM Days WHERE dayNum =

Re: [PHP] Re: mysql_fecth_array() and function call as parameter

2006-04-03 Thread Joe Wollard
Paul, Try TO_DAYS(curdate()) instead - if not you can't say we didn't try! ;-) If that doesn't work you may want to try a MySQL list. - Joe On 4/3/06, Paul Goepfert [EMAIL PROTECTED] wrote: I included the or die function on the end of my query statement. When I tested this on my web page

RE: [PHP] Re: mysql_fecth_array() and function call as parameter

2006-04-03 Thread Chrome
Maybe try NOW() or CURRENT_DATE()? Just a guess and sorry if it's already been mentioned Dan --- http://chrome.me.uk -Original Message- From: Joe Wollard [mailto:[EMAIL PROTECTED] Sent: 04 April 2006 00:38 To: Paul Goepfert Cc: Jon Drukman;

Re: [PHP] Multidimentional array problems

2006-04-03 Thread Tom Rogers
Hi, Tuesday, April 4, 2006, 8:37:18 AM, you wrote: ME Hi, ME I am trying to read form a database and place everything in a ME multi-dimentional array ME This is what I am doing and the output (for testing) seems correct ME while($row=mysql_fetch_array($result)) ME { ME $banner=

Re: [PHP] Re: PHP AJAX Framework - Suggestions Please

2006-04-03 Thread Miles Thompson
At 06:25 PM 4/3/2006, Andrei Verovski (aka MacGuru) wrote: Hi, Many thanks for everyone who have replied. Its seems Manuel's suggestion regarding iFrame sounds really good. BTW, I am using Savant as template engine, and integrate it with Manuel Forms Generation and Validation would be a good

Re: [PHP] Best authentication method for user

2006-04-03 Thread Ligaya Turmelle
Alain Roger wrote: ok, but how to make a non-logged user executes some stored procedures or Queries ? MySQL will need some login and password for that. so, that's why i've asked such question...how and where to store this non-logged user's info (login, password) to not make physical user type

Re: [PHP] curl http file upload post

2006-04-03 Thread Chris
webmaster wrote: I am trying to upload a file to a remote server using curl and post method here is what I have: $file = $dir..$dbfile[0]; $this-invoiceno = $dbfile[1]; $uploadpath = http://www.website.com; $postvar = array (); $postvar['cboFileType'] = 837;

[PHP] proc_open and unix pty support

2006-04-03 Thread Jon
Has anyone worked with ptys using proc_open? I want to try it out but it appears to be disabled at the source level and I don't know how to re-enable it. Any info at all is appreciated. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP/Dreamweaver CSS issue

2006-04-03 Thread The Doctor
I am trying to modularize a Web Page using one of Dremweaver's CSSes. It works in Firefox but it falls about in IE. Is IE at fault or the modularization? -- Member - Liberal International This is [EMAIL PROTECTED] Ici [EMAIL PROTECTED] God Queen and country! Beware Anti-Christ rising!

Re: [PHP] proc_open and unix pty support

2006-04-03 Thread Chris
Jon wrote: Has anyone worked with ptys using proc_open? I want to try it out but it appears to be disabled at the source level and I don't know how to re-enable it. Any info at all is appreciated. Stupid question - you're using php5 right? It should already be there:

[PHP] parse a Makefile

2006-04-03 Thread Benjamin D Adams
I'm trying to parse a Makefile, (FreeBSD Ports) I plan on dumping the Makefile vars to a MySQL Database. Would I parse the make file like a ini file? Or would I have to use something different? Maybe someone knows a tool that can do this for me? Thanks Ben -- PHP General Mailing List

Re: [PHP] utf8 problem

2006-04-03 Thread Chris
Merlin wrote: Hi there, I am trying to encode output with php with uft8_encode(); and then output it to an xml file. Unfortunatelly this does not work as the string that has been encoded by utf8_encode is not valid utf8?! Depending on the string you might also need to htmlspecialchars it

Re: [PHP] Best authentication method for user

2006-04-03 Thread Grant Young
Hi Alain. On the authentication front, you can use HTTP basic authentication for this kind of thing too - and it means you're not having to re-invent the wheel in a lot of ways. The Auth_HTTP PEAR module makes this pretty simple to implement: http://pear.php.net/package/Auth_HTTP/ You can

Re: [PHP] return path of mail function

2006-04-03 Thread sub
You are better off using the 5th paramater to mail() instead.. mail($to, $sub, $msg, $headers, -f $return); And what if that doesn't work? Is there a 3rd way of doing it that might work? ~Drew -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] return path of mail function

2006-04-03 Thread Chris
[EMAIL PROTECTED] wrote: You are better off using the 5th paramater to mail() instead.. mail($to, $sub, $msg, $headers, -f $return); And what if that doesn't work? Is there a 3rd way of doing it that might work? Ask your host if they allow you to change it on the fly. Explain what you're

Re: [PHP] Here is a silly question

2006-04-03 Thread Chris
Mace Eliason wrote: Hi, This is come thing that I have struggled with now and again. I usaually us php code to make it work, but was wondering how others deal with this I use includes in most of the web applications that I work on to include the header, footer, menu etc. The problem that

Re: [PHP] PHP/Dreamweaver CSS issue

2006-04-03 Thread Peter Hoskin
Lack of information means no answer for you. More to the point, this is a CSS question... not a PHP one. There is a difference. The Doctor wrote: I am trying to modularize a Web Page using one of Dremweaver's CSSes. It works in Firefox but it falls about in IE. Is IE at fault or the

Re: [PHP] ID-tags from picture?

2006-04-03 Thread Chris
Gustav Wiberg wrote: Hi guys! If I've got this right, there will be some kind of tag that is saved in a picture (hidden). Is it possible to retrieve this information from PHP and what it is called? Any ideas / suggestions would be approciated! Depends on what information you are after.

Re: [PHP] parse a Makefile

2006-04-03 Thread Peter Hoskin
Makefile's are not ini files. ini files have the structure [section] variable=value [section2] variable2=value2 Makefiles have the structure variable=value Benjamin D Adams wrote: I'm trying to parse a Makefile, (FreeBSD Ports) I plan on dumping the Makefile vars to a MySQL Database. Would I

Re: [PHP] parse a Makefile

2006-04-03 Thread Kevin Kinsey
Benjamin D Adams wrote: I'm trying to parse a Makefile, (FreeBSD Ports) I plan on dumping the Makefile vars to a MySQL Database. Would I parse the make file like a ini file? Or would I have to use something different? Maybe someone knows a tool that can do this for me? Thanks Ben Try

Re: [PHP] Re: PHP AJAX Framework - Suggestions Please

2006-04-03 Thread Rasmus Lerdorf
Ruben Rubio Rey wrote: The best and simplest for me is prototype.js Is much more than ajax ! 100% cross browser! ang GPL! http://www.sergiopereira.com/articles/prototype.js.html Note that quite a few people who know a lot about Javascript really don't like the fact that prototype.js extends

[PHP] How to get a timestamp in error log?

2006-04-03 Thread John Hicks
My RHES4 configuration omits the timestamp when generating a PHP error message in the (Apache) error log. But regular apache errors *do* have a timestamp. Is this normal? How can I get the timestamp for the PHP errors as well? Thanks, John -- PHP General Mailing List (http://www.php.net/)

[PHP] Re: mysql_fecth_array() and function call as parameter

2006-04-03 Thread Jon Drukman
Paul Goepfert wrote: I included the or die function on the end of my query statement. When I tested this on my web page I got the following error Query2 Failed: You have an error in your SQL syntax near '(curdate())' at line 1 When this code executed: $query2 = mysql_query(SELECT dayNum