[PHP] Generating mysql statement from php return an error :-(

2001-07-29 Thread Jacques
me"]."');\n"; } $result=mysql_query($query); If I have only one line in my sql and I remove the ; it works. but If I add the ; to separate two sql lines error ! Any idea how I can resolve this problem ? Regards, Jacques -- 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]

[PHP] Re: HTTP header question.

2001-07-29 Thread Jacques
but I'd like to make it transparent. Any ideas? > > Thanks, > Ben You cannot send ANY text or html tag (even a space ) before usin header function. If you have to get something displayed. I suggest to use then : echo ""; Regards, Jacques -- PHP General Mailing List (h

[PHP] how to access to session variable without

2001-09-21 Thread Jacques
. Thanks a lot, Jacques -- 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]

[PHP] Re: how to access to session variable without

2001-09-21 Thread Jacques
"Richard Lynch" <[EMAIL PROTECTED]> wrote > What is SID in graph.php? Cuz it should work... This is the main problem. Can find out why it's not working. SID is the session ID -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comma

[PHP] who's on-line application - php

2005-02-14 Thread Jacques
I would like to indicate the particulars (from a MySQL database) of all those users that are currently on-line (those whom have successfully signed in). How should I go about achieving this? Does it have something to do with Sessions? I am developing in PHP. Regards Jacques -- PHP General

[PHP] Undefined function - mysql_connect() - php5?

2005-02-16 Thread Jacques
lconnect(). What can be the problem? I uninstalled PHP5 and installed PHP4 and then I can make a connection without any problems... Please shed some light anyone!! Jacques -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Help with SQL statement

2005-02-17 Thread Jacques
ent? Can I use the time() function or should I use the now() function rather? Thanks Jacques -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Destroying the Session Object

2005-02-18 Thread Jacques
). However, when I close the browser window and sign in again as any member, the session id changes. How does this work and how can I ensure that a unique session id is allocated to every new user that signs in? Jacques -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

[PHP] Sessions and cookies

2005-02-21 Thread Jacques
o the default life span of a session object? and can this bechanged? Reagrds Jacques -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Formatting e-mail using mail()

2005-02-22 Thread Jacques
Can I format an e-mail message with html tags inside the mail() function? If not, how can I go about it? I would like to format the layout of the e-mail message using tables, colors and perhaps images. Regards - Jacques -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

[PHP] Capturing user's IP Address

2005-02-24 Thread Jacques
Which function can I use to capture a user's IP Address when he registers on my site. I would like to store this value in a database. Regards Jacques -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Server includes and Absolute URL

2005-02-24 Thread Jacques
Can make use of an absolute URL when using require() or require_once()? Regards Jacques -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Identifying a user who previously created a profile

2005-02-24 Thread Jacques
have previously registered. Jacques -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Session time out

2005-03-16 Thread Jacques
What is the life time of a PHP session object (variable)? Which conditional test can I perform to check if the session object has timed out? Jacques -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Session time out

2005-03-17 Thread Jacques
Is session time measured in seconds or minutes? Regards Jacques "Jacques" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > What is the life time of a PHP session object (variable)? Which > conditional test can I perform to check if the session o

[PHP] Drop down list - persistant value

2005-03-21 Thread Jacques
. This is easy to do for a textfield but how do I indicate on the drop down list which country he originally selected? Please help. Jacques -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] SQL statement - date

2005-03-23 Thread Jacques
; Regards Jacques -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] SQL statement - please help

2005-03-24 Thread Jacques
RDATE(),INTERVAL 1 HOUR) <= tblchatglobal.cgtimeposted) order by tblchatglobal.cgtimeposted desc"; Jacques -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Destroying the Session Object

2005-03-24 Thread Jacques
How can I destroy the session object for a particular user when that user leaves my web site without properly signing out? Jacques -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] header("Location: page.php target=_parent")?????

2005-03-25 Thread Jacques
n? I have tried it out and it seems to work. Maybe perhaps I should not do this as there may be some implications later on??? Regards Jacques -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] what are {} used for in php?

2005-04-06 Thread Jacques
I have often seen php code included inside braces. What does this mean or do? Jacques -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Connecting to MySQL Sever using PHP5

2005-10-13 Thread Jacques
I have just installed PHP5. I am using Windows XP and have already installed MySQL. When I try and make a connection to a database on MySQL via Dreamweaver I get the following error message: "An unidentified error has occurred". What could be wrong and how can I fix this problem

[PHP] Putting Form Variables / URL Parameters in to an associative array?

2005-10-20 Thread Jacques
How can I grab parameters / key-value-pairs from a query string and put them in to an associative array where each key-value pair inside the array exactly corresponds with the key-value pairs inside the querystring? Regards Jacques -- PHP General Mailing List (http://www.php.net/) To

[PHP] PHP session_id()

2006-01-30 Thread Jacques
Hi all Is it possible that the PHP engine can generate duplicate session id's for one application? Can one assume that the session id generated and saved in a database will always be unique (never to be repeated)? Regards Jacques -- PHP General Mailing List (http://www.php.net

[PHP] Session hanling & session disabled

2003-03-07 Thread Jacques Jocelyn
"clean" is to activate cookies. but if cookies are refused by the visitor, the website will be unusable (member section etc) I will appreciate any help from you. Thanks, Jacques -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Problem wih Session and register_globals

2002-10-26 Thread Jacques Marques
Hello, When I try the code below and register_globals=On, its work fine, the counter variable is incremented each time that I load the page, but, when register_globals=Off, its does not work, the counter variable is save just in first time and never more. How can I fix this? With out to turn re

[PHP] Problem with Session and register_globals

2002-10-26 Thread Jacques Marques
Hello, When I try the code bellow with register_globals=On, it work was expected, the counter variable is incremented each time that I load the page, but, when I try with register_globals=Off, it doesn´t work, the counter variable is incremented just in the first time, the session variable is not

[PHP] filesize() error - Can anyone help?

2003-10-20 Thread Jacques Roux
-home/b2b/www.impumelelo.org.za/html/project_detail.php on line 10 Regards Jacques -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP Mail handler?

2003-11-19 Thread Jacques Roux
Dear All Is there a mail function or object that I can use on my PHP sites that does the same as the CDONTS object in ASP? Where can I find some tutorials on this subject? Regards Jacques -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Form To Mail script generators for Linux

2009-03-23 Thread Jacques Manukyan
. -- Jacques Manukyan Linda Stark wrote: Hi, I am trying to find out if there are any “form to mail” php script generators that run on Linux available - that would generate the script needed to profess web mail forms such as a “contact us” page or a “mail us” page on a web site. There was one

Re: [PHP] PHPizabi - Applying php in TPL (smarty template engine)

2009-03-26 Thread Jacques Manukyan
/variable.php.handling.php -- Jacques Manukyan Luciano Felli wrote: Hi there! Any know how Can I use PHP code into Smarty Temple Engine (TPL files) ? I usued {php} include("text.php"); {/php} but the code don't run simply output the code. What's the problem? Wht don't run? Thankx, Luciano Fe

Re: [PHP] php5activescript.dll

2009-03-27 Thread Jacques Manukyan
The site is under maintenance. You could wait or download it from: http://kromann.info/download.php?strFolder=php5_1-Release_TS&strIndex=PHP5_1 Note that I do not know of the validity of that site so have your antivirus program ready. -- Jacques Manukyan Robert Johnson wrote: I

[PHP] PHP firebird driver

2006-11-14 Thread Jacques Marneweck
mysql_pconnect does. Regards --jm -- Jacques Marneweck http://www.powertrip.co.za/ http://www.powertrip.co.za/blog/ #include -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] preg_match_all : not all regular expressions ?

2004-01-26 Thread Jean-Jacques Méric
[newbie, please help] I'm trying to extract all URLs mentionning sound files from blocks of texts. I first tried with ereg and the following code works fine : $texte='TEST FIND\net voici un fichier son http://serveur/repertoire/fichier.gig ou ftp://serveur/repertoire/fichier.snd et ftp://ser

[PHP] $_FILES empty, trouble with uploading

2009-03-04 Thread Karl St-Jacques
Hello people. I have some trouble with an upload script. It was working until the last 2 weeks. Whenever I tried to upload a file to a remote server, the $_FILES array is empty. I print global at start of the script there's nothing. Here's the form http://random.server.com/video/upload.ph

RE: [PHP] $_FILES empty, trouble with uploading

2009-03-05 Thread Karl St-Jacques
with uploading yes,I agree with Ash ,you can test it on a local testing server or the other server. if it work ,then you can sure it's environment problem. 2009-03-05 zhoo 发件人: Ashley Sheridan 发送时间: 2009-03-05 04:10:02 收件人: Karl St-Jacques 抄送: php-general 主题: Re:

[PHP] trouble uploading more than 500 bytes...

2008-10-11 Thread Karl St-Jacques
Hello, I have trouble uploading files to a server. Actually I can't upload more than 500 bytes or so. Here's a quick print_r of the $_FILES [_FILES] => Array( [avatar] => Array ([name] => index.html[type] => text/html[tmp_name] => /tmp/phpRbmXK5[error] => 0[size] =>

RE: [PHP] trouble uploading more than 500 bytes...

2008-10-12 Thread Karl St-Jacques
> > Hello, > > > > I have trouble uploading files to a server. Actually I can't > > upload more than 500 bytes or so.> > > > Here's a quick print_r of the > > $_FILES > > > > [_FILES] => Array( [avatar] => Array ( [name] => index.html > > [type] => text/html [tmp_name] => /tmp/phpRbmXK5 [error]