Re: [PHP] Need help - past deadline

2003-08-26 Thread David Otton
On Tue, 26 Aug 2003 12:39:53 -0500, you wrote: td align=center valign=top class=red a class=sold onMouseOver=self.status='SOLD TO ?php echo $alias; ?'; return true; onMouseOut=self.status=' '; return true;?php print $row[0]; ? /td Missing /a

Re: [PHP] need help figuring out how to delete rows?

2003-08-23 Thread Marek Kilimajer
DELETE FROM table ORDER BY timestamp DESC LIMIT 40, 1000 untested, but should work Deadsam wrote: Hi Im making a chatroom using flash and php, the one problem Im having is deleting rows. What I'm looking for is when they click on the button to send the message into php--mySql it will also

Re: [PHP] need help figuring out how to delete rows?

2003-08-23 Thread Marek Kilimajer
Actualy, it will not. LIMIT can have only one argument with DELETE. This will ($count is the number of rows you need to get in a previous query): DELETE FROM table ORDER BY timestamp ASC LIMIT $count-40 Marek Kilimajer wrote: DELETE FROM table ORDER BY timestamp DESC LIMIT 40, 1000

[PHP] Need help om screen display error

2003-08-23 Thread Gloria L. McMillan
Hi, all! I have a working database at: http://dakotacom.net/~glomc/forms/CAT.html It does send info to the database, but only shows [ at the upper left of screen when it is supposed to print to screen. Could somebody help me find what is wrong in my .php file? Thanks, Gloria -- PHP

[PHP] need help figuring out how to delete rows?

2003-08-22 Thread Deadsam
Hi Im making a chatroom using flash and php, the one problem Im having is deleting rows. What I'm looking for is when they click on the button to send the message into php--mySql it will also check to see how many rows are in that table and if they are greater then 40, then to delete the rows

[PHP] Need help with GD installation on RH9

2003-08-21 Thread Matt Babineau
Hey All- If anyone has some experience getting GD setup on RH9, I could really use some. Please email me off list if you are willing to answer a few questions. Thanks! Matt -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] need help with cookies

2003-08-18 Thread Dan Anderson
I need to grab cookies from a web page and pass those cookies back to the web page when needed. I downloaded the cURL program and was playing with it, but don't understand how cURL functions correlate into the PHP equivalents. How would I strip the cookies from a web page, and send cookies? More

Re: [PHP] need help with cookies

2003-08-18 Thread Curt Zirzow
* Thus wrote Dan Anderson ([EMAIL PROTECTED]): I need to grab cookies from a web page and pass those cookies back to the web page when needed. I downloaded the cURL program and was playing with it, but don't understand how cURL functions correlate into the PHP equivalents. How would I

Re: [PHP] need help with cookies

2003-08-18 Thread Jaap van Ganswijk
At 2003-08-18 16:17 -0400, Dan Anderson wrote: I need to grab cookies from a web page and pass those cookies back to the web page when needed. I downloaded the cURL program and was playing with it, but don't understand how cURL functions correlate into the PHP equivalents. I don't know cURL, but

Re: [PHP] need help with table lock - could this be performed with mysql commands or do I to write my own PHP function

2003-08-14 Thread Curt Zirzow
* Thus wrote anders thoresson ([EMAIL PROTECTED]): set_lock($table_name, $row_id), check_lock($table_name, $row_id) and release_lock($table_name, $row_id). Whenever an editor opens some content for editing, check_lock() will be called to se if table_lock contains a row with the same

Re: [PHP] need help with table lock - could this be performed with mysql commands or do I to write my own PHP function

2003-08-14 Thread anders thoresson
What happens when the user doesn't finish editing or the browser simply crashes on him? Well. Didn't think of that. So how can I avoid that two editors loads the same record for editing at the same time, while still making all records available for regular visitors to read? -- anders thoresson

[PHP] need help with table lock - could this be performed with mysql commands or do I to write my own PHP function

2003-08-10 Thread anders thoresson
Hi, For an application that I'm working on, I wan't users to be able to show content even while an editor/administrator makes changes in one of my database's tables. But if another editor tries to load the same content for editing, he/she shouldn't be able to do this. I've been reading up on

[PHP] need help

2003-07-24 Thread dan montgomery
need to know which scripts I can get free or at low cost to create a hosting site and to make an e-mail site. The e-mail site need two features one is for free accounts and one is for paid accounts like yahoo.com. But there is one catch yahoo dosn't give as much space as I will for free I will

Re: [PHP] need help

2003-07-24 Thread skate
check out sourceforget.net, lots of web applications on there for hosting management, and i believe there's a few email applications. - Original Message - From: dan montgomery [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, July 24, 2003 12:55 PM Subject: [PHP] need help need

Re: [PHP] need help with MySQL full text searching!!!!

2003-07-22 Thread Andrei BEJENARU
I think you need to make a second index that just consists of the one column ALTER TABLE biblio ADD FULLTEXT (title) if you want to search on just that one column. ---John Holmes... Exactly! If you want to do a fultext search on a single column you must have a fulltext index on that

[PHP] need help with mysql union

2003-07-21 Thread r-militante
hi, i'm trying to select * through 3 tables - is the following syntax correct? $sql=(SELECT * FROM mjp_cc); $sql=UNION; $sql=(SELECT * FROM imc_cc); $sql=UNION; $sql=(SELECT * FROM pmp_cc); $sql.= ORDER BY savedccactivity DESC; i basically just want to spit out the contents of these tables...

[PHP] need help with MySQL full text searching!!!!

2003-07-21 Thread Angelo Zanetti
Hi I have a table which contains 3 fields (ID, Title, Abstract) the title and abstract fields have been fulltext indexes like this: ALTER TABLE biblio ADD FULLTEXT (title,abstract); that worked fine, however my problem is whenever I want to do a select statement only comparing 1 of the

Re: [PHP] need help with MySQL full text searching!!!!

2003-07-21 Thread CPT John W. Holmes
, 2003 12:09 PM Subject: [PHP] need help with MySQL full text searching Hi I have a table which contains 3 fields (ID, Title, Abstract) the title and abstract fields have been fulltext indexes like this: ALTER TABLE biblio ADD FULLTEXT (title,abstract); that worked fine, however my problem

Re: [PHP] need help with mysql union

2003-07-21 Thread CPT John W. Holmes
hi, i'm trying to select * through 3 tables - is the following syntax correct? $sql=(SELECT * FROM mjp_cc); $sql=UNION; $sql=(SELECT * FROM imc_cc); $sql=UNION; $sql=(SELECT * FROM pmp_cc); $sql.= ORDER BY savedccactivity DESC; i basically just want to spit out the contents of these

[PHP] Need Help: Please click on Test Link

2003-07-16 Thread Suhas Pharkute
Hi I need your help. Can you please visit a site http://sspsoft.com/test/ip2ll.php (in case if you cannot get it, please click on http://ns1.webhostdns.us and then click on the website link.) which should identify your Country, State, City. Please click on one of the buttons to provide

Re: [PHP] Need Help: Please click on Test Link

2003-07-16 Thread David Nicholson
Hello, This is a reply to an e-mail that you wrote on Thu, 17 Jul 2003 at 02:02, lines prefixed by '' were originally written by you. I need your help. Can you please visit a site http://sspsoft.com/test/ip2ll.php (in case if you cannot get it, please click on http://ns1.webhostdns.us and

RE: [PHP] need help w/ sql query - update and select at once

2003-07-01 Thread Sævar Öfjörð
PROTECTED] Sent: 1. júlí 2003 02:33 To: [EMAIL PROTECTED] Subject: [PHP] need help w/ sql query - update and select at once hi i'm trying to get this sql query to work, i'm trying to update and select at the same time, i'm not even sure if this is even possible update db.tablename set field1='yes

RE: [PHP] need help w/ sql query - update and select at once

2003-07-01 Thread Sævar Öfjörð
-Original Message- From: Andrew McCombe [mailto:[EMAIL PROTECTED] Sent: 1. júlí 2003 23:33 To: [EMAIL PROTECTED] Subject: Re: [PHP] need help w/ sql query - update and select at once Theoretically, you should be able to do a multi-table update since MYSQL 3.23, like this: UPDATE

[PHP] need help w/ sql query - update and select at once

2003-06-30 Thread r-militante
hi i'm trying to get this sql query to work, i'm trying to update and select at the same time, i'm not even sure if this is even possible update db.tablename set field1='yes' where (select * from db.tablename,db.tablename2 where db.tablename.userid=db.tablename2.userid); basically i have a

[PHP] need help breaking out of loop.

2003-06-26 Thread anders thoresson
Hi, I'm working of a PHP-MySQL-planning system for a newspaper. I want to add dates and number for each issue. I have to following code, where $current_date is a unix timestamp. If $current_date is a Saturday or Sunday, I want to quit the current execution of the loop and contiune with the

RE: [PHP] need help breaking out of loop.[Scanned]

2003-06-26 Thread Michael Egan
Anders, Are you missing a '|' in the if condition? Michael Egan -Original Message- From: anders thoresson [mailto:[EMAIL PROTECTED] Sent: 26 June 2003 12:01 To: [EMAIL PROTECTED] Subject: [PHP] need help breaking out of loop.[Scanned] Hi, I'm working of a PHP-MySQL-planning system

RE: [PHP] need help breaking out of loop.

2003-06-26 Thread Naintara Jain
Of anders thoresson Sent: Thursday, June 26, 2003 4:31 PM To: [EMAIL PROTECTED] Subject: [PHP] need help breaking out of loop. Hi, I'm working of a PHP-MySQL-planning system for a newspaper. I want to add dates and number for each issue. I have to following code, where $current_date is a unix timestamp

Re: [PHP] need help breaking out of loop.

2003-06-26 Thread David Otton
On Thu, 26 Jun 2003 13:00:45 +0200, you wrote: What am I missing? At first glance while ($i = $number_of_days) { $issue_date = strftime(%Y-%m-%d, $current_date); $issue_month = date(m, $current_date); $issue_day = date(d, $current_date);

Fw: [PHP] need help on coding

2003-06-17 Thread o_j_p_p
Hello friend, the problem is the escape sequence, tray this escape sequence: \ Solution of the problem: ? $data = \message\; echo $data; ? bye, Orlando. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] need help on coding

2003-06-15 Thread Shien Hang Low
From: Gabor Hojtsy [EMAIL PROTECTED] To: Shien Hang Low [EMAIL PROTECTED] CC: [EMAIL PROTECTED] Subject: Re: need help on coding Date: Sun, 15 Jun 2003 12:26:53 +0200 Please ask support questions at [EMAIL PROTECTED] Goba Shien Hang Low : hi there, i am very sorry, previously i have send you

Fwd: [PHP] need help on coding

2003-06-15 Thread Khoo Merry
?php $data = "" ?htmlbody"?php echo ("$data"); ?"/body/html If you want the out put "message". You can just simply put the " before and after the php code. Try this code. good luckNote: forwarded message attached. Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month!---BeginMessage---

[PHP] need help with using java in PHP

2003-06-14 Thread Kevin Ison
ok heres the scenerio: php.ini: [Java] java.class.path = C:\apache\php\JAVA\php_java.jar;c:\apache\htdocs\ktest\;. java.home = C:\j2sdk1.4.1_01\bin\ java.library = C:\j2sdk1.4.1_01\jre\bin\server\jvm.dll java.library.path = C:\apache\php\extensions\;C:\apache\php\;.\ the PHP source code: ?

[PHP] need help with while loop/rtf generator page

2003-06-11 Thread r-militante
hi all i'm having trouble with the this page. not sure if i'm approaching the problem the right way. i'm basically passing search criteria to a page. i'm using the search criteria to construct a sql query dynamically. i'm using the sql query in a while loop that cycles through the db and

[PHP] Need help with display of results

2003-06-06 Thread Gloria L. McMillan
Hi, again! I did not see my question as yet so I will repost it. I have had help writing HTML code to display the results of my PHP-- McSQL actions. But when I attempt to show the DATE and q40 (comments) with the HTML code below, all I see on screen is: ]in the upper left

Re: [PHP] Need help with display of results

2003-06-06 Thread Lars Torben Wilson
On Fri, 2003-06-06 at 14:32, Gloria L. McMillan wrote: Hi, again! I did not see my question as yet so I will repost it. I have had help writing HTML code to display the results of my PHP-- McSQL actions. But when I attempt to show the DATE and q40 (comments) with the HTML code below,

Re: [PHP] Need help with display of results

2003-06-06 Thread Lars Torben Wilson
On Fri, 2003-06-06 at 18:45, Lars Torben Wilson wrote: [snip] while ($row = mysql_fetch_array($result, MYSQL_ASSOC)) { echo trtd{$row['time_stamp']}/tdtd{$row['heading']}/td/tr\n; } Whoops...replace 'time_stamp' with 'added' and 'heading' with 'q40', of course. :) Sorry, Torben

[PHP] need help widh comparing dates

2003-04-04 Thread Centras
I need to compare dates which opens commenting system. For example: If show starts 2003.05.01 20:00 then I need that only from that date and time the commenting system apears on my site ant would be there all the time from the start of the show. But in my code the commenting system opens only for

Re: [PHP] need help widh comparing dates

2003-04-04 Thread Centras
Sorry for mistakes. It should be: ... if ($year_now = $year_show $month_now = $month_show $day_now = $day_show $hour_now == $hour_show $minute_now = $minute_show) { COMMENTING SYSTEM OPENED { else { COMMENTING SYSTEM CLOSED } ... -- PHP General Mailing List (http://www.php.net/)

[PHP] Need help with HTML2Pdf

2003-03-21 Thread Anthony
I need a lot of help trying to get HTML 2pdf to work. If anyone here has done it before, please drop me a line and help me out. I have some questions about capability and I simply can't seem to get it working. Thanks. - Anthony -- PHP General Mailing List (http://www.php.net/) To

RE: [PHP] Need help with coding problem

2003-03-19 Thread John W. Holmes
I have a subscription service and am trying to not allow the buyer to proceed purchasing another subscription if one of their subscriptions is over 29 days past due in their payment. I am trying to query each invoice and checking to see if it is past due more than 29 days, if it is I want a

[PHP] Need help with coding problem

2003-03-18 Thread Ben C.
I have a subscription service and am trying to not allow the buyer to proceed purchasing another subscription if one of their subscriptions is over 29 days past due in their payment. I am trying to query each invoice and checking to see if it is past due more than 29 days, if it is I want a

[PHP] need help with parsing form input ...

2003-03-11 Thread Kenn Murrah
Greetings. I'm out of my league here, not knowing enough about regular expressions yet to do this, so I desperately need someone's help ... I need to parse form input to eliminate unwanted characters (punctuation, mostly) ... for instance, if the web site visitor types smith,susan--33 into the

Re: [PHP] need help with parsing form input ...

2003-03-11 Thread Justin French
Space at the beginning or end of a string can be removed with trim(). In order for someone to write you a regexp, you need to change your question to the following: I need to ensure a string only has the following characters in it: A-Z a-z 0-9 Can someone please help me write a regexp which

Re: [PHP] need help with parsing form input ...

2003-03-11 Thread Jason k Larson
How about: preg_match_all ('/([a-zA-Z0-9]+)/', $subject, $matches); HTH, Jason k Larson Justin French wrote: Unfortunately, I'm no good with regexp's, so you'll have to hope someone who IS reads your post :) Justin French on 12/03/03 5:14 AM, Kenn Murrah ([EMAIL PROTECTED]) wrote: Greetings.

[PHP] Need help with ? vs. php?

2003-03-05 Thread LeTortorec, Jean-Louis
Hello everyone, I've installed the Apache v2.0.44 with PHP4.3.1., under Windows. My pages starting and ending with ?? don't work anymore. I would have to change them to ?php...php?. Do you know if there is a way for keeping ? running? Thanks for your help.

Re: [PHP] Need help with ? vs. php?

2003-03-05 Thread Greg Donald
On Wed, 5 Mar 2003, LeTortorec, Jean-Louis wrote: My pages starting and ending with ?? don't work anymore. I would have to change them to ?php...php?. Do you know if there is a way for keeping ? running? I think you might try: ini_set(short_open_tag, 1); Or edit your php.ini and set it

Re: [PHP] Need help with ? vs. php?

2003-03-05 Thread 1LT John W. Holmes
I've installed the Apache v2.0.44 with PHP4.3.1., under Windows. My pages starting and ending with ?? don't work anymore. I would have to change them to ?php...php?. php? is not valid. It's ?php ... ? or ? ... ? Do you know if there is a way for keeping ? running? enable short_tag in

[PHP] Re: new to php, need help..

2003-02-25 Thread Steve Magruder
Jonathan [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] all the suggestions didn't work though, could it be as what chris said, my IE doesn't support php? PHP is server-side. IE has no issues whatsoever with loading HTML generated from PHP. The PHP constructs are dealt with on the

[PHP] Re: new to php, need help..

2003-02-21 Thread pei_world
I think the problem is your php.ini setting the global_variable, by default, it is off,coz more secure,so if you want to access the variable, you need $_POST[variable] or $_GET[variable], also, $_env[HTTP_GET_VARIABLE] or $_env[HTTP_POST_VARIABLE] check out the manual on the web -- Sincerely

Re: [PHP] new to php, need help..

2003-02-20 Thread Chris Cook
Try naming the file with a .php extension. It is also possible your server does not support php. Good luck, Chris From: Jonathan [EMAIL PROTECTED] Reply-To: Jonathan [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: [PHP] new to php, need help.. Date: Thu, 20 Feb 2003 01:34:12 -0600 hi all

[PHP] Re: new to php, need help..

2003-02-20 Thread John Taylor-Johnston
Just a hunch: ? echo $subject[0]; ? Try using ?php instead, as in: ?php echo $subject[0]; ? Do you have a URL to show us what your page does and doesn't do? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: new to php, need help..

2003-02-20 Thread Jonathan
thanks for helping guys :) sorry i don't have a url that i can upload my files too.. all i can show is my code.. :( the original code that i got from is from : http://www.linuxguruz.org/z.php?id=33 example 5: examples 1-4 seems to work, but other examples with this line doesn't, input

[PHP] new to php, need help..

2003-02-19 Thread Jonathan
hi all, i've only begun learning php around 1 week ago, i'm having trouble with this code, html head titleUntitled Document/title meta http-equiv=Content-Type content=text/html; charset=iso-8859-1 /head body ? if (isset($subject)) { echo $subject[0]br /; echo $subject[1]p /; } else { $subject[0]

[PHP] Need help with PHP CLI

2003-02-13 Thread [-^-!-%-
Hello everyone! I'm having trouble accessing the argument list from a php script, from the command line. I'm calling the script as ./myscript.php argument1 argument2 myscript.php contains #!/usr/local/php -q ?php echo Total aguments passed: $argc\n; echo Argument 1: $argv[0] \n argument2:

[PHP] need help with a table please - sorry

2003-02-12 Thread Denis L. Menezes
Hello friends. Sorry I sent the wrong code in my last mail. Here is my correct code. I want the output of my query to be formatted such that after every 7th output, the 8th one should start on a new row in the table. I have written the following code but does not work. Can someone please help?

Re: [PHP] need help with a table please - sorry

2003-02-12 Thread Matt
- Original Message - From: Denis L. Menezes [EMAIL PROTECTED] Sent: Wednesday, February 12, 2003 9:43 AM Subject: [PHP] need help with a table please - sorry Sorry I sent the wrong code in my last mail. Here is my correct code. I want the output of my query to be formatted

Re: [PHP] need help with a table please - sorry

2003-02-12 Thread Chris Hayes
At 15:43 12-2-03, you wrote: Hello friends. Sorry I sent the wrong code in my last mail. Here is my correct code. I want the output of my query to be formatted such that after every 7th output, the 8th one should start on a new row in the table. I have written the following code but does not

Re: [PHP] need help with a table please - sorry

2003-02-12 Thread Chris Hayes
woops i did not finish that line: If you imagine to walk through your code, with every step $i increases. If you start the second row, then the counter is at 8 and will never be 7 again. And some bad english: Besides, your second print 'tr' for every cell, which will break your table,

[PHP] Need help storing and displaying html/text!

2003-02-10 Thread Shawn McKenzie
I have a form and I want the user to be able to enter html in a text area. This will then be stored in an array in a config file. Example $htmlstuff[1] = 'script type=text/javascriptsome stuff here/script'; When they visit the form again it will display as they entered it and they can modify it

[PHP] need help with preg_match

2003-02-08 Thread joe
Hi I have to alter this code: ?php $fp = fopen ('http://www.whatever.ee/', 'r'); for ($src = ''; !feof ($fp); $src .= fgets ($fp, 1024)); fclose ($fp); if (preg_match ('/\font color=black\([^]*)\\/font/i', $src, $matches)) echo'Match: b'.$matches[1].'/b'; else echo'No match !';

Re: [PHP] need help with preg_match

2003-02-08 Thread Chris Hayes
At 17:21 8-2-2003, you wrote: Hi I have to alter this code: ?php $fp = fopen ('http://www.whatever.ee/', 'r'); for ($src = ''; !feof ($fp); $src .= fgets ($fp, 1024)); fclose ($fp); if (preg_match ('/\font color=black\([^]*)\\/font/i', $src, $matches)) echo'Match: b'.$matches[1].'/b';

Re: [PHP] need help with preg_match

2003-02-08 Thread joe
Thank You very much! It Really works the way I want it to. But i still have a slight problem. The script cant read the data if it is on several rows. For example: table font color=black trtext/tr /font /table Is there a way to fix this problem? Thank You! Chris Hayes [EMAIL PROTECTED]

RE: [PHP] need help with preg_match

2003-02-08 Thread John W. Holmes
Thank You very much! It Really works the way I want it to. But i still have a slight problem. The script cant read the data if it is on several rows. For example: table font color=black trtext/tr /font /table Is there a way to fix this problem?

[PHP] Need help.

2003-01-22 Thread thkiat
Can someone tell me what should I do to solve this problem? Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/epcc/public_html/exoops/class/database/mysql.php on line 134 Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource

RE: [PHP] Need help.

2003-01-22 Thread Matt Schroebel
-Original Message- From: thkiat [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 22, 2003 10:23 AM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: [PHP] Need help. Can someone tell me what should I do to solve this problem? Warning: mysql_fetch_row(): supplied argument

RE: [PHP] Need help.

2003-01-22 Thread Edward Peloke
can you post some code? -Original Message- From: thkiat [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 22, 2003 10:23 AM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: [PHP] Need help. Can someone tell me what should I do to solve this problem? Warning: mysql_fetch_row

[PHP] NEED HELP URGENTLY

2003-01-22 Thread Dale
I SETUP THE PHP PARSE ENGINE ON ABOUT A YEAR AGO ON ONE OF MY WEB SERVERS AND EVERYTHING WORKED JUST FINE. I, HOWEVER, RECENTLY ACQUIRED A NEW SERVER AND TRIED TO SETUP PHP AGAIN ON IIS 5.0 ON A WIN 2K SERVER PLATFORM. EVERYTHING SEEMS TO BE WORKING CORRECTLY, BUT FOR SOME REASONS WHEN I TRY TO

RE: [PHP] NEED HELP URGENTLY

2003-01-22 Thread Timothy Hitchens \(HiTCHO\)
Global Variables are turned off!!! check php.ini!! Timothy Hitchens (HiTCHO) Open Source Consulting e-mail: [EMAIL PROTECTED] -Original Message- From: Dale [mailto:[EMAIL PROTECTED]] Sent: Thursday, 23 January 2003 10:02 AM To: [EMAIL PROTECTED] Subject: [PHP] NEED HELP URGENTLY

RE: [PHP] NEED HELP URGENTLY

2003-01-22 Thread John Wells
To: [EMAIL PROTECTED] Subject: [PHP] NEED HELP URGENTLY I SETUP THE PHP PARSE ENGINE ON ABOUT A YEAR AGO ON ONE OF MY WEB SERVERS AND EVERYTHING WORKED JUST FINE. I, HOWEVER, RECENTLY ACQUIRED A NEW SERVER AND TRIED TO SETUP PHP AGAIN ON IIS 5.0 ON A WIN 2K SERVER PLATFORM. EVERYTHING SEEMS

Re: [PHP] NEED HELP URGENTLY

2003-01-22 Thread Leif K-Brooks
First of all, you don't need to type in all caps like that. I thought this was the Nigerian Scam for a minute there! :-) Anyway, in PHP 4.2+, the php.ini setting register_globals is off by default. You'll need to either turn it on, or start using the newer $_POST superglobal array. For

RE: [PHP] NEED HELP URGENTLY

2003-01-22 Thread John W. Holmes
] Subject: [PHP] NEED HELP URGENTLY I SETUP THE PHP PARSE ENGINE ON ABOUT A YEAR AGO ON ONE OF MY WEB SERVERS AND EVERYTHING WORKED JUST FINE. I, HOWEVER, RECENTLY ACQUIRED A NEW SERVER AND TRIED TO SETUP PHP AGAIN ON IIS 5.0 ON A WIN 2K SERVER PLATFORM. EVERYTHING SEEMS TO BE WORKING

[PHP] Need help detecting attached files

2003-01-06 Thread Don
Hi, I'm using a mailer class that allows for external file attachments. I was using the test: if ($HTTP_POST_FILES[$val]['size']) { Which worked fine. However, I wanted something more generic that works for POST or GET so I wrote the following code: $request = 'HTTP_' .

Re: [PHP] Need help detecting attached files

2003-01-06 Thread Jason Wong
On Tuesday 07 January 2003 03:26, Don wrote: Hi, I'm using a mailer class that allows for external file attachments. I was using the test: if ($HTTP_POST_FILES[$val]['size']) { Which worked fine. However, I wanted something more generic that works for POST or GET How do you mean more

[PHP] Need Help.

2003-01-01 Thread thkiat
Hi, I'm a newbie for PHP. Just installed IIS PHP on my PC. A test run gave me this:- Warning: main(quote.php) [function.main]: failed to create stream: No such file or directory in C:\Documents and Settings\aaa\My Documents\My Webs\excelpoint.org\index.php on line 139 Warning: main()

Re: [PHP] Need Help.

2003-01-01 Thread Jason Sheets
Your include path is not setup so that the web server can find the file you are trying to include, if the file is in a sub directory make sure you are properly including it include_once('include/main.php') not just include_once('main.php'). And make sure the file you are trying to include exists

Re: [PHP] need help with sessions

2002-12-17 Thread Marek Kilimajer
You don't need to call session_start twice. And you are right, the problem is in that line: you want to show your login screen if both $_POST['uid'] and $_SESSION['uid'] are not set, therefor instead of OR use AND. Anders Thoresson wrote: Hi again, I'm still trying to understand sessions,

[PHP] need help with sessions

2002-12-16 Thread Anders Thoresson
Hi again, I'm still trying to understand sessions, and have made some progress during the afternoon, thanks to Ernest E. Vogelsinger. I'm at the moment trying to get a login-script up and running, but without 100 percent success. The script is split up in two major parts: bilder.php, which

[PHP] need help on Installation over Linux/apache/mysql

2002-12-04 Thread ppf
Hi : I tried to Install Apache1.3x/PHP4.0x/Mysql on Linux 6.1 I followed exact steps described in http://www.e-gineer.com/instructions/install-php4x-for-apache1xx-on-linux.phtml Apache/mysql installed and tested successfully, but when I tried to install php with mysql option it shows that

[PHP] Need help on client certificate validation using OpenSSL/PHP

2002-11-25 Thread Richard Rojas
Hi All, I'm a PHP newbie and Im really having difficulty with client-server certificate validation using Openssl and PHP. If somehow you know of a tutorial, a website or sample PHP codes that checks (expired, revoked) and validates client certificates, it would be of great help.

Re: [PHP] Need help on client certificate validation using OpenSSL/PHP

2002-11-25 Thread Chris Shiflett
--- Richard Rojas [EMAIL PROTECTED] wrote: I'm a PHP newbie and Im really having difficulty with client-server certificate validation using Openssl and PHP. If somehow you know of a tutorial, a website or sample PHP codes that checks (expired, revoked) and validates client certificates, it

[PHP] Need Help in escaping and\

2002-11-13 Thread ppf
Hi All: I am trying to generate the directory path dynamically to save the Uploaded file. when i try to concatnate the string with\ it generate an error, Hope you guys can help me in this here is the code $real_Path=realpath(../../index.php); $real_path=$real_path.\DefaultFld\SubFld\; Here is

[PHP] Need Help in installation of PHP, appache and MySQL on Linux

2002-11-11 Thread ppf
Hi All: I got php/mysql/appache on my windows machine, it works fine Now i have to install appache/php/mysql on Linux 6.1 red hat. I had searched the php.net for intallation document, but it didn't have much detailed description. I am new to Linux also, if u guys know some URL or doc pls let me

Re: [PHP] Need Help in installation of PHP, appache and MySQL onLinux

2002-11-11 Thread John Nichel
http://www.php.net/manual/en/install.unix.php You'll make it easier on yourself installing MySQL from the rpm's on your RedHat CD's. rpm -ivh mysql-xxx-.rpm Be sure to install both the server and client of MySQL. ppf wrote: Hi All: I got php/mysql/appache on my windows machine, it

Re: [PHP] Need Help in installation of PHP, appache and MySQL on Linux

2002-11-11 Thread Jason Wong
On Tuesday 12 November 2002 05:57, ppf wrote: Hi All: I got php/mysql/appache on my windows machine, it works fine Now i have to install appache/php/mysql on Linux 6.1 red hat. I had searched the php.net for intallation document, but it didn't have much detailed description. I am new to

Re: [PHP] Need Help in installation of PHP, appache and MySQL onLinux

2002-11-11 Thread John Nichel
And here for MySQL... http://www.mysql.com/doc/en/Linux-RPM.html Just worry about the client and server. John Nichel wrote: http://www.php.net/manual/en/install.unix.php You'll make it easier on yourself installing MySQL from the rpm's on your RedHat CD's. rpm -ivh mysql-xxx-.rpm

[PHP] Need Help With SESSIONS and ARRAYS

2002-11-05 Thread @ Darwin
Hello, In an attempt to override the political anger in this mailing list I will tell you that I have already searched through documentations on how to solve the problem I'm having, to the extent of my skills in searching. Ok, now to the problem. I have an array submitted by a form, such as

Re: [PHP] Need Help With SESSIONS and ARRAYS

2002-11-05 Thread Kevin Stone
']['name']; $_SESSION['myarray']['price']; $_SESSION['myarray']['desc']; -Kevin - Original Message - From: @ Darwin [EMAIL PROTECTED] To: Php-General [EMAIL PROTECTED] Sent: Tuesday, November 05, 2002 3:05 PM Subject: [PHP] Need Help With SESSIONS and ARRAYS Hello, In an attempt to override

Re: [PHP] Need Help With SESSIONS and ARRAYS

2002-11-05 Thread Kevin Stone
Oops.. sorry didn't realize I was responding to a redundent post. :) -Kevin - Original Message - From: Kevin Stone [EMAIL PROTECTED] To: @ Darwin [EMAIL PROTECTED]; Php-General [EMAIL PROTECTED] Sent: Tuesday, November 05, 2002 3:27 PM Subject: Re: [PHP] Need Help With SESSIONS

[PHP] need help with project

2002-11-02 Thread Karl James
Hello people Im in need help with creating a system where it will let me Add/drop players off a web page..basically of a roster with salary cap control And I want to do trades as well This is for a fantasy football page. And I need to have username and passwords so my owners can login and

[PHP] Need help with regexp for preg_split

2002-11-01 Thread David Brannlund
Hi, I need some help with a regexp for preg_split. I want the string str = this is 'a string that' contains phrases; to be split into: arr[] = this; arr[] = is; arr[] = a string that; arr[] = contains; arr[] = phrases; but I'm having some trouble coming up a good regexp that would

[PHP] Need help...

2002-10-29 Thread BAROILLER Pierre-Emmanuel
Hi everyone... I've got a little problem : I've got an html template, with javasript functions and stylesheets in many places... This html template is made via a big big template handler i've done... All seems to work... But, now, I would like to clean this html page to procude a 'readable' page

[PHP] Need help with HTTP-Authentication

2002-10-15 Thread Davy Obdam
Hi People,. I have a problem with HTTP-Authentication, i have 2 users in my database, and i want both to be able to login. However it works, but only the first user is able to login. I Use a MySQL 3.23.xx database, PHP 4.2.3 and Apache 2.0.40. Can anyone help me with this, any help would be

Re: [PHP] need help for a where clause

2002-10-07 Thread Philipp Lutz
If you are using MySQL you may want to look at the CASE statement in the Control flow functions for use with SELECT Statements it would look like SELECT CASE A.Afn WHEN 1 THEN B.Bfn1 WHEN 2 THEN B.Bfn2 WHEN 3 THEN B.Bfn3 FROM A,B IN MySQL Hope That Helps.. Phil Alex Shi

[PHP] need help for a where clause

2002-10-06 Thread Alex Shi
Hi, I need a where clause in following situation: Say I want to query two tables: A and B. In table A there is field Afn, while in table B there are 3 fields: Bfn1, Bfn2 and Bfn3. I want to do a query, in which the where clause must do these things: if A.Afn=1, then check value of B.Bfn1;

Re: [PHP] need help for a where clause

2002-10-06 Thread Sascha Cunz
A solution on that depends strongly on how much values A.Afn would take. For 3, it's still okay. But i wouldn't do more. Against what shall the B.Bfn* be checked? What Data do you want to be returned from the query? try: SELECT ### FROM A, B WHERE ((A.Afn=1) AND (B.Bfn1 = ...)) OR

Re: [PHP] need help for a where clause

2002-10-06 Thread Alex Shi
Thanks! This is what I need! Alex Shi Sascha Cunz [EMAIL PROTECTED] 写入消息新闻 :[EMAIL PROTECTED] A solution on that depends strongly on how much values A.Afn would take. For 3, it's still okay. But i wouldn't do more. Against what shall the B.Bfn* be checked? What Data do you want to be

[PHP] Need help with fsockopen()

2002-10-04 Thread Cliff Small
I have a script that downloads html pages from many different sites. The script executes as expected but is slw. I would like to replace fopen() with fsockopen() so that I can set a time limit for the page downloads. Here is an example of how I'm using fopen(): $OpenFile =

Re: [PHP] Need help with fsockopen()

2002-10-04 Thread bbonkosk
http://www.php.net/manual/en/function.fsockopen.php Seems to be A LOT of useful information there? Did you check it out? -Brad I have a script that downloads html pages from many different sites. The script executes as expected but is slw. I would like to replace fopen() with

[PHP] Need help creating a mysql query in PHP

2002-09-30 Thread DonPro
Hi, I have a form containing a text field where the user types in a sentence. I need to search a mysql table, specifically a text field and display a list of found results. My criteria selections are: 1) return a record if all the words are contained in a record 2) return a record if all any

RE: [PHP] Need help creating a mysql query in PHP

2002-09-30 Thread John W. Holmes
I have a form containing a text field where the user types in a sentence. I need to search a mysql table, specifically a text field and display a list of found results. My criteria selections are: 1) return a record if all the words are contained in a record 2) return a record if all any

<    1   2   3   4   5   6   >