[PHP] Need help.

2002-09-23 Thread Rekha Das
I am using php-4.1.2 and apache-1.3.26. I am allowing users to download files from my site. The problem is that the file is not downloded fully. After downloading say 84%, the counter stops and download manager says that the download is complete. This problem is intermittent. Sometimes the file

[PHP] Need help with PDFlib under Linux

2002-09-12 Thread Cameron Thorne
First some background. I have two servers: 1) Windows XP with Apache 1.3.26 and PHP 4.2.2 2) GNU/Linux with Apache 1.3.26 and PHP 4.2.3 compiled in statically Both are working well, but I now want to add PDFlib support to both servers. On the win32 machine it was as easy as uncommenting

[PHP] need help with a chat code problem

2002-08-29 Thread Deadsam
Im building a chat with php/mySQL but I dont want my database to be filled up with messages upon messages, what I want to do is make it start deleting rows after lets say 100 rows (which hold the messages)(each individual row holds one chat message), is there a way of doing this through deleting

[PHP] need help

2002-08-11 Thread Reymond
I am newbie in php scripting, I am used to using asp scripting I get the result of my page but with no error message But Operator like * , + , or / the result is not valid result Variable $rat on my page it’s not work ………. My database sample ___ Id gid

RE: [PHP] Need help with Apache and .htaccess vs. Files directive. -- SOLVED

2002-08-09 Thread Daevid Vincent
Tim, you are my father! That was it. That stupid trailing /* Making it: Directory /home/epiller/public_html/vrexhibits instead of: Directory /home/epiller/public_html/vrexhibits/* worked -Original Message- From: Tim [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 08, 2002

[PHP] need help

2002-08-09 Thread XoXGrimreaper
Hi, how come on the view source link on the bottom of the php.net homepage shows a whole mess of php code but when I select view page source in Internet explorer or netscape in shows everything as html on the home. This is kinda hard for me to explain, here is an example below: p Ever

RE: [PHP] need help

2002-08-09 Thread Admin @ blar!
that's the nature of php. it is executed server side then disappears showing only it's results. :) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, August 09, 2002 2:21 PM To: [EMAIL PROTECTED] Subject: [PHP] need help Hi, how come on the view

RE: [PHP] need help

2002-08-09 Thread Pushkar Pradhan
PROTECTED]] Sent: Friday, August 09, 2002 2:21 PM To: [EMAIL PROTECTED] Subject: [PHP] need help Hi, how come on the view source link on the bottom of the php.net homepage shows a whole mess of php code but when I select view page source in Internet explorer or netscape in shows

RE: [PHP] Need help to choose hosting!

2002-08-02 Thread Daniel Kushner
To: [EMAIL PROTECTED] Subject: [PHP] Need help to choose hosting! Hey php-general, i want to buy hosting. but i can't find good one for me. maybe someone could point some links. but this is what i need! Storage up to 100MB normal transfer limit(best would be without) CGI/Perl/PHP/ASP

Re: [PHP] Need help to choose hosting!

2002-08-02 Thread Michael Sweeney
I just moved my domain over to phpwebhosting.com. The transfer went very smoothly and so far I've been satisfied. The only hitch I can see in your requirements might be the background processes (bots, what?). But it's probably worth asking them about. ..michael.. On Thu, 2002-08-01 at 23:31,

[PHP] Need Help with register_globals OFF

2002-08-02 Thread Monty
I'm trying to use the more secure register_globals=Off setting for some simple scripts that do authentication and use sessions. But I'm ready to rip all my hair out! Can someone recommend a good article online that clearly discusses what's different when you have register_globals=Off? I've spent

Re: [PHP] Need Help with register_globals OFF

2002-08-02 Thread Jason Wong
On Saturday 03 August 2002 07:37, Monty wrote: I'm trying to use the more secure register_globals=Off setting for some simple scripts that do authentication and use sessions. But I'm ready to rip all my hair out! Look at the chapter Session handling functions. The setting of register_globals

[PHP] Need help to choose hosting!

2002-08-01 Thread Mantas Kriauciunas
Hey php-general, i want to buy hosting. but i can't find good one for me. maybe someone could point some links. but this is what i need! Storage up to 100MB normal transfer limit(best would be without) CGI/Perl/PHP/ASP/SSI/SSL MySQL database (can be only 1) some pop3 mailboxes

Re: [PHP] Need help to choose hosting!

2002-08-01 Thread Justin French
Aside from shell, ssh background processes, i can recommend experthost.com How do you expect to get ASP (assuming you mean microsoft's Active Server Pages) on a Unix box? Sure, PHP could be on a Windows box, but I think your chances of finding a solid host that supports ASP AND PHP on the one

RE: [PHP] Need help to choose hosting!

2002-08-01 Thread Peter Houchin
How do you expect to get ASP (assuming you mean microsoft's Active Server Pages) on a Unix box? Justin, you can use ChilliSoft, http://www.chillisoft.com, by Sun Microsystems that is a ASP plugin that works with Apache as well as other browsers such as IBM's Websphere, and many others as

Re[2]: [PHP] Need help to choose hosting!

2002-08-01 Thread Mantas Kriauciunas
Hello Justin, heh... sorry about that ASP thing... i copied from one hosting site and just paste it hare. forgot about ASP :) i'll check out that experthost.com :) thanks JF Aside from shell, ssh background processes, i can recommend experthost.com JF How do you expect to get ASP (assuming

Re[2]: [PHP] Need help to choose hosting!

2002-08-01 Thread Mantas Kriauciunas
Hello Justin, Hey php-general, i want to buy hosting. but i can't find good one for me. maybe someone could point some links. but this is what i need! Storage up to 100MB normal transfer limit(best would be without) CGI/Perl/PHP/SSI/SSL MySQL database (can be only 1) some pop3

Re: Re[2]: [PHP] Need help to choose hosting!

2002-08-01 Thread 1LT John W. Holmes
Why not get your own box? Then you can have whatever you want. I think you can get them from rackshack.com for $99. ---John Holmes... - Original Message - From: Mantas Kriauciunas [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, August 02, 2002 3:00 AM Subject: Re[2]: [PHP] Need

RE: [PHP] need help reg. User Accounts

2002-07-30 Thread Simon Ritchie
I am using PHP-4.1.1 on Linux, I wanted to know the difference between nobody user and normal user of operating system. None. Nobody is an ordinary user. However, ordinary UNIX users can be set up in all sorts of ways. This question just came to mind when, neither nobody's directory nor

[PHP] need help reg. User Accounts

2002-07-28 Thread umesh
Hi Gurus, I am using PHP-4.1.1 on Linux, I wanted to know the difference between "nobody" user and normal user of operating system. This question just came to mind when, neither nobody's directory nor any entry was not found in /home or elsewhere. Thanking you all in anticipation. Regards

Re: [PHP] need help reg. User Accounts

2002-07-28 Thread Bob Lockie
Hi Gurus, I am using PHP-4.1.1 on Linux, I wanted to know the difference between nobody user and normal user of operating system. This question just came to mind when, neither nobody's directory nor any entry was not found in /home or elsewhere. The web server can be run by any user. The

[PHP] need help with uploading images

2002-07-28 Thread Deadsam
I'm trying to get an uploader to work, where you check to make sure it's a jpeg file that's being uploaded, and no other files allowed. the server is unix linux using php4.1 Any help would be appreciated. thanks in advance deasdam -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] need help with uploading images

2002-07-28 Thread Oscar F
] To: [EMAIL PROTECTED] Sent: Sunday, July 28, 2002 5:53 PM Subject: [PHP] need help with uploading images I'm trying to get an uploader to work, where you check to make sure it's a jpeg file that's being uploaded, and no other files allowed. the server is unix linux using php4.1 Any help would

Re: [PHP] need help with uploading images

2002-07-28 Thread Deadsam
Hope this helps. Oscar.- - Original Message - From: Deadsam [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, July 28, 2002 5:53 PM Subject: [PHP] need help with uploading images I'm trying to get an uploader to work, where you check to make sure it's a jpeg file that

Re: [PHP] need help with uploading images

2002-07-28 Thread Tom Rogers
Hi, Monday, July 29, 2002, 7:53:30 AM, you wrote: D I'm trying to get an uploader to work, where you check to make sure it's a D jpeg file that's being uploaded, and no other files allowed. the server is D unix linux using php4.1 D Any help would be appreciated. D thanks in advance D deasdam

[PHP] need help with unusual php/mysql/array manipulation script

2002-07-26 Thread spam
I run an online gaming fansite, and most people that visit my site want to know what would be best to raise their skill on. I started a script which basically takes numeric data (0-120) and pulls the information they need from my database. I got the easy part down, which you can see here:

[PHP] need help about this

2002-07-10 Thread aromania
MySQL Error : Database Error Error Number: 1050 Table 'book_auth' already exists what this meant? what should i do for correct this thaank you for your help sincerly your -- tjandra

RE: [PHP] need help about this

2002-07-10 Thread Peter
July 2002 4:52 PM To: [EMAIL PROTECTED] Subject: [PHP] need help about this Importance: High MySQL Error : Database Error Error Number: 1050 Table 'book_auth' already exists what this meant? what should

Re: [PHP] need help about this

2002-07-10 Thread Tyler Longren
Table 'book_auth' already exists means that you're trying to create the 'book_auth' table again, even though it already exists. Remove the old 'book_auth' table to create the new one. -- Tyler Longren Captain Jack Communications [EMAIL PROTECTED] www.captainjack.com On Thu, 11 Jul 2002

RE: [PHP] need help about this

2002-07-10 Thread Sachin Keshavan
12:22 PM To: [EMAIL PROTECTED] Subject: [PHP] need help about this Importance: High MySQL Error : Database Error Error Number: 1050 Table 'book_auth' already exists what this meant? what should i do for correct this thaank

Re: [PHP] need help about this

2002-07-10 Thread Anas Mughal
How are you getting this error? Are you trying to create the table? [EMAIL PROTECTED] wrote: MySQL Error : Database Error Error Number: 1050 Table 'book_auth' already exists what this meant? what should i do for

RE: [PHP] Need Help with $_SESSION.

2002-07-04 Thread Ford, Mike [LSS]
-Original Message- From: Scott Fletcher [mailto:[EMAIL PROTECTED]] Sent: 03 July 2002 20:58 Still working on the script. Here what I found out so far. Why does the example #1 work and example #2 doesn't? Example #1 Page 1 $_SESSION[0] = Zero; $_SESSION[1] = One;

[PHP] Need Help with $_SESSION.

2002-07-03 Thread Scott Fletcher
Have not been successful in making this work for 2 days now. I'm focusing on making the $_SESSION to work on each webpages. The 1st page is the login. The 2nd page represent the rest of the webpages on a secure side after logging in. I could use some help in making this work. The $_SESSION

Re: [PHP] Need Help with $_SESSION.

2002-07-03 Thread Al Baker
You must do a session_start() before you can use the session ID or the session array. On Wed, 2002-07-03 at 12:24, Scott Fletcher wrote: Have not been successful in making this work for 2 days now. I'm focusing on making the $_SESSION to work on each webpages. The 1st page is the login.

Re: [PHP] Need Help with $_SESSION.

2002-07-03 Thread Scott Fletcher
That one doesn't work too well! Also, here's the old script that work with the register_global turned on. But making it work with register global turned off is what I haven't gotten it to work. --clip-- (Page 1) odbc_fetch_into($result,$user_detail,1); $salt = strtoupper(md5(uniqid(rand(;

Re: [PHP] Need Help with $_SESSION.

2002-07-03 Thread Scott Fletcher
Al Baker's comment does help to iron out the broken script. Thanks, Al Now, I still can not understand why the 2nd page show the $_SESSION as blank. It is suppose to contain datas. The php.net stated that $_SESSION is global. Any comments? --clip-- (Page 1) session_start(); //

RE: [PHP] Need Help with $_SESSION.

2002-07-03 Thread Johnson, Kirk
Now, I still can not understand why the 2nd page show the $_SESSION as blank. It is suppose to contain datas. The php.net stated that $_SESSION is global. Any comments? register_globals on --- Page 1 ? session_start(); $foo = 'bar'; session_register('foo'); $foo =

Re: [PHP] Need Help with $_SESSION.

2002-07-03 Thread Scott Fletcher
The demostration written by Kirk Johnson worked pretty well. So, it should work with my demo script I posted earlier today. Alright! I'm going to have to debug it to find the problem. I'll post the final script once everything is ironed out. Hope to get it done today. Thanks, FletchSOD

Re: [PHP] Need Help with $_SESSION.

2002-07-03 Thread Scott Fletcher
Still working on the script. Here what I found out so far. Why does the example #1 work and example #2 doesn't? Example #1 Page 1 $_SESSION[0] = Zero; $_SESSION[1] = One; Page 2 echo $_SESSION[0]; echo $_SESSION[1]; Example #2 Page 1 $array[0] = Zero; $array[1] = One; //This is either

[PHP] Need help

2002-06-18 Thread Barbara
I want to know how I have to install cURL on my apache server. My apache server is running on Windows ME. Thanks for all. Barbara Guillen. Spain

Re: [PHP] Need help

2002-06-18 Thread Tyler Longren
If you don't have cURL Installed yet, you can get it for Win32 here: http://curl.haxx.se/download.html On Tue, 2002-06-18 at 09:30, Barbara wrote: I want to know how I have to install cURL on my apache server. My apache server is running on Windows ME. Thanks for all. Barbara Guillen. Spain

Re: [PHP] NEED HELP (passing variable to new page)

2002-06-07 Thread Miguel Cruz
1) Why are you using JavaScript to open the window? HTML will do just fine (a target=_whatever) and will work on all browsers as well as search engines. 2) Your sample page has some password on it and I can't decipher from your message what's actually going on, so without seeing it in action,

[PHP] NEED HELP (passing variable to new page)

2002-06-06 Thread Igor Portnoy
Hello, I am having hard time passing the variable to the next page. May be you can help me. Let me explain: I am using mySQL database to store information about images (ID, name, author, description, etc). I am pulling some of the information to create this (look at the example here:

[PHP] Need help accessing the values of an array in a form ...

2002-05-22 Thread John Kelly
Hi, I have a form using the post method that outputs a dynamic number of fields each time with the same name but different values - this is required. For example ... filename[] filename[] filename[] filename[] On the next page I try to access the array using ... for($i=0; $icount($filename);

[PHP] need help on a ereg stmt. validating website adress

2002-05-18 Thread andy
Hi there, I would like to validate a website adress. Unfortunatelly my eregi stmt does not work: if (eregi(^([0-9a-z][0-9a-z-\.]+)\.([a-z]{2,3})), $website)){ // not a link I am getting the error msg: Warning: REG_ERANGE in extend.inc on line 94 does anybody know whats wroong with that?

Re: [PHP] need help on a ereg stmt. validating website adress

2002-05-18 Thread andy
andy [EMAIL PROTECTED] wrote: Hi there, I would like to validate a website adress. Unfortunatelly my eregi stmt does not work: if (eregi(^@([0-9a-z][0-9a-z-\.]+)\.([a-z]{2,3})), $website)){ // not a link I am getting the error msg: Warning: REG_ERANGE in extend.inc on line

Re: [PHP] need help on a ereg stmt. validating website adress

2002-05-18 Thread Miguel Cruz
On Sat, 18 May 2002, andy wrote: I would like to validate a website adress. Unfortunatelly my eregi stmt does not work: if (eregi(^([0-9a-z][0-9a-z-\.]+)\.([a-z]{2,3})), $website)){ // not a link I am getting the error msg: Warning: REG_ERANGE in extend.inc on line 94 does anybody

[PHP] Need help with Arrays

2002-05-13 Thread Hall, Tony, JCW
Hello, I'm new to this group and already have a problem (actually the problem is the reason I found the group). I'm taking a Fundamentals of Programming class, and they are using PHP to get the message across. I'm having a lot of trouble passing the values in the first array to the second array.

Re: [PHP] Need help with Arrays

2002-05-13 Thread Miguel Cruz
Can you be more specific about what you mean by I'm having a lot of trouble passing the values in the first array to the second array? You have a lot more than two arrays, so we don't know which are the first and second. And you are passing a lot of things around, so we don't know where you are

[PHP] need help on ereg statement

2002-05-04 Thread Andy
Hi there, I am trying to validate a password. Only characters in the alphabet and numbers should be allowed. Somehow my statement does not work at all :-( if (ereg(^[A-Za-z0-9],$new_passw)) echo 'invalid'; Can anybody help on that? Thanx in advance, Andy -- PHP General Mailing List

Re: [PHP] need help on ereg statement

2002-05-04 Thread Trond Arve Nordheim
On Sat, May 04, 2002 at 02:42:34PM +0200, Andy wrote: if (ereg(^[A-Za-z0-9],$new_passw)) if (!preg_match(/^[a-zA-Z0-9]*$/, $new_passw)) { echo invalid; } preg-power! :) -- Trond Arve Nordheim - This message is ROT13-encrypted twice for extra security. -- PHP General Mailing List

[PHP] Need help with File Upload

2002-04-25 Thread Walter Enzenhofer
hi there, i´m sorry to post that stupid message, but i really need help in finding the solution to a maybe small problem. I´m trying to do a simple file upload (jpeg) with the copy function. the destination directory is set to chmod 0777, the files are copied to this directory (with the

[PHP] need help sorting an array...tricky

2002-04-23 Thread Leif Högberg
I have an array where each element contains an array that in turn contains 2 numbers indexed by id and parent. Every id except for the first one belongs to another, its parent. What I want to do now is sort the array so that every id is put after its parent starting with id 1. Example: arr1 =

[PHP] need help with your code?

2002-04-09 Thread Erik Price
On Tuesday, April 9, 2002, at 11:50 AM, Analysis Solutions wrote: Allow me to nit pick. That's hard to read. This, on the other hand, is clearer: function StartHandler($Parser, $ElementName, $Attr='') { print b$ElementName:/b ; } Of course, you can do what you want, but

Re: [PHP] New to PHP Need Help

2002-04-04 Thread Hiroshi Ayukawa
Hello, The result $Location_info is an array.So you've got the answer 'Array'. Consider that you requested MySQL to fetch several columns through SQL Select * from So the result was an array. You can get the content of the result like $Location_info[0],$Location_ info[2],and so on.

RE: [PHP] New to PHP Need Help

2002-04-04 Thread Rick Emery
AM To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: [PHP] New to PHP Need Help I am trying to define variables through an anchor tag to retrive data from MySQL, When the script runs it displays Array. I am running WIN2K and IIS 5 echo a href=location.php?location=2Camp

Re: [PHP] New to PHP Need Help

2002-04-04 Thread Philip Olson
Firstly, cross-posting like this is a huge no-no, please don't do that again. When the script runs it displays Array. Printing arrays directly will do that. Logically speaking, how do you expect PHP to know what value to get here? You are SELECTing many. I am running WIN2K and IIS 5

[PHP] New to PHP Need Help

2002-04-04 Thread Jason Tobias
I am trying to define variables through an anchor tag to retrive data from MySQL, When the script runs it displays Array. I am running WIN2K and IIS 5 echo a href=location.php?location=2Camp Street Cafe/a; Here is the script that is called. ?php $db = mysql_connect(localhost, , ) or die

[PHP] Need help

2002-03-26 Thread Denis L. Menezes
Hello friends. I am a newbie to php. I am trying to connect to mysql with php. I have a website called www.abcresources.com The mysql database set up by the hosting company is called abc_resources.com I have a table called addressbook I log in into the admin page with my username as user and

RE: [PHP] Need help

2002-03-26 Thread Rick Emery
. Menezes [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 26, 2002 7:14 AM To: [EMAIL PROTECTED] Subject: [PHP] Need help Hello friends. I am a newbie to php. I am trying to connect to mysql with php. I have a website called www.abcresources.com The mysql database set up by the hosting company

Re: [PHP] Need help

2002-03-26 Thread Miguel Cruz
On Tue, 26 Mar 2002, Denis L. Menezes wrote: I have a website called www.abcresources.com The mysql database set up by the hosting company is called abc_resources.com I have a table called addressbook One problem you may run into is that (at least as far as I know) a MySQL database name

[PHP] need help converting code to more efficient loop

2002-03-09 Thread Timothy J. Luoma
Hello! I am trying to reduce the size of the code below, which I believe can be simplified. I checked the 'for' entry in the manual as well as googling for some similar code, but did not have any luck. Here is what I have: $ICON_COUNT=0; if ($SHOW_WAI_ICON != no) { $ICON_COUNT++ ;

Re: [PHP] need help converting code to more efficient loop

2002-03-09 Thread Jason Wong
On Saturday 09 March 2002 18:08, Timothy J. Luoma wrote: Hello! I am trying to reduce the size of the code below, which I believe can be simplified. I checked the 'for' entry in the manual as well as googling for some similar code, but did not have any luck. Here is what I have:

[PHP] New to PHP, need help.

2002-03-07 Thread Michele
I currently working with some free source from CyberGl and am having a problem with the membership module. I've inserted the php into the beginning of the page but when I go to test the page, nothing appears. I don't get a 404 error or any error, the page just doesn't display. Any ideas?

Re: [PHP] New to PHP, need help.

2002-03-07 Thread Matt Drake
Michele, Possible a dumb question, but does the machine you are running it on have PHP installed and configured to work with the server software? If so, did you name the file correctly? It may need to be called page.php rather than page.html... M On Thu, 7 Mar 2002, Michele wrote: I

[PHP] Need help ASAP

2002-03-04 Thread Francois Louw
I need the xslt_process function under the XSLT_functions to work under either php 4.1.1 or 4.1.2. I used to compile it with --sablot but that doesn't work anymore. Currently I'm using sablot 0.8 and compile it with the following lines: --enable-xslt --with-xslt-sablot This still doesn't give

[PHP] Need help with a PHP script

2002-03-03 Thread PHP
?php if($a == 0 || $a == null) LogOn(); else if($a==1) CPMain(); function Authorize() { $username = $HTTP_POST_VARS['username']; $password = $HTTP_POST_VARS['password']; echo T$username$password; } function CPMain() { Authorize(); } function LogOn() { echo Please log on:; echo form

RE: [PHP] Need help with a PHP script

2002-03-03 Thread Douglas Maclaine-cross
echo T.$username.$password; is PHP 2 and earlier proper syntax for PHP 3+ is echo T+$username+$password; or echo T$username$password; Doug

[PHP] Need help with a PHP script

2002-03-03 Thread PHP
?php if($a == 0 || $a == null) LogOn(); else if($a==1) CPMain(); function Authorize() { $username = $HTTP_POST_VARS['username']; $password = $HTTP_POST_VARS['password']; echo T$username$password; } function CPMain() { Authorize(); } function LogOn() { echo Please log on:; echo form

RE: [PHP] Need help with a PHP script

2002-03-03 Thread Douglas Maclaine-cross
I can't believe I just sent this. For those who care it's the other way around. -Original Message- From: Douglas Maclaine-cross Sent: Monday, March 04, 2002 14:08 To: 'PHP'; [EMAIL PROTECTED] Subject: RE: [PHP] Need help with a PHP script echo T.$username.$password; is PHP 2

RE: [PHP] Need help with a PHP script

2002-03-03 Thread Martin Towell
instead of $HTTP_POST_VARS, try $_POST -Original Message- From: PHP [mailto:[EMAIL PROTECTED]] Sent: Monday, March 04, 2002 12:10 PM To: [EMAIL PROTECTED] Subject: [PHP] Need help with a PHP script ?php if($a == 0 || $a == null) LogOn(); else if($a==1) CPMain(); function Authorize

Re: [PHP] Need help

2002-02-21 Thread DL Neil
John, Yeeesch! I neet help. Yeeesch! was exactly my reaction when I read the following! Now that you have had some responses to 'directly' address the problem may I ask why you would want to maintain/work with the data in this format (top) as opposed to the eminently logical later

[PHP] Need help

2002-02-20 Thread jtjohnston
Yeeesch! I neet help. I need a method to flush out lists of authors in a MySQL field called KW. The field looks a bit like this: 1; Caribbean and West Indies; Guyana;4;

Re: [PHP] Need help

2002-02-20 Thread Steven Walker
John, You could create a function to do this. Just think of it in small steps. You can use the string replace function to replace certain parts with other characters, or nothing at all. For example: $data = Wilson; Hope,(i) Alec Derwent; King,(i) Bruce; James,(i) Henry;; $new_data =

RE: [PHP] Need help

2002-02-20 Thread Martin Towell
it in an understandable way, but as Steven says, break it down into smaller steps Martin -Original Message- From: Steven Walker [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 21, 2002 1:30 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Need help John, You could create

[PHP] Need help with Taking a phrase from a remote location.

2002-01-28 Thread Robby
Hi Everyone, I need to know which function a would use to take a phrase from a remote location. Yes, I using my fopen and fread function. But I need to know what function I would use to grab text between the one snip of code and a nother snip of code. Please email me back at [EMAIL PROTECTED]

Re: [PHP] Need help with Taking a phrase from a remote location.

2002-01-28 Thread Mike Maltese
str_replace() and eregi_replace() work well for this. Mike - Original Message - From: Robby [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, January 27, 2002 1:45 PM Subject: [PHP] Need help with Taking a phrase from a remote location. Hi Everyone, I need to know which

[PHP] Re: [PHP-DB] Re: [PHP] need help looping through each record with a query -stumped

2002-01-10 Thread DL Neil
]] Sent: Thursday, January 10, 2002 11:10 AM To: Martin Towell; 'Brian Tully'; PHP DB; PHP Subject: RE: [PHP] need help looping through each record with a query - st umped If you are querying the Score = 75 how are you ging to take the Consecutive requirement into the account

[PHP] Re: [PHP-DB] Re: [PHP] need help looping through each record witha query -stumped

2002-01-10 Thread Brian Tully
dn - thanks SO much for your detailed reply. :) yes there are tons of problems :( the last 3 consecutive Months issue is tricky enough - but the fact that the database is set up all wrong for this type of query is the real problem. unfortunately changing the structure and field formats then

[PHP] need help looping through each record with a query - stumped

2002-01-09 Thread Brian Tully
hey folks - i'm stumped. been working on what i thought would be a simple script to cycle through users' records and perform a query. But I can't get the loops right, it seems like only one or two records get updated. Using MySQL, we have about 2000 students enrolled. each month they take a

Re: [PHP] need help looping through each record with a query - stumped

2002-01-09 Thread Mehmet Kamil ERISEN
Hi, If I am not missing anything, you are not sorting SELECT Month, Score FROM scores WHERE Username = '$Username' Also, the requirement is not three consecutive test in a month, so I would not break the loop into months. once you have it ordered it by the date : while (list($Month,

RE: [PHP] need help looping through each record with a query - stumped

2002-01-09 Thread Martin Towell
with interbase and oracle) Hope that helps Martin -Original Message- From: Brian Tully [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 10, 2002 8:59 AM To: PHP DB; PHP Subject: [PHP] need help looping through each record with a query - stumped hey folks - i'm stumped. been working on what i

RE: [PHP] need help looping through each record with a query - st umped

2002-01-09 Thread Mehmet Kamil ERISEN
: Thursday, January 10, 2002 8:59 AM To: PHP DB; PHP Subject: [PHP] need help looping through each record with a query - stumped hey folks - i'm stumped. been working on what i thought would be a simple script to cycle through users' records and perform a query. But I can't get

RE: [PHP] need help looping through each record with a query - st umped

2002-01-09 Thread Martin Towell
: Mehmet Kamil ERISEN [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 10, 2002 11:10 AM To: Martin Towell; 'Brian Tully'; PHP DB; PHP Subject: RE: [PHP] need help looping through each record with a query - st umped If you are querying the Score = 75 how are you ging to take the Consecutive requirement

Re: [PHP] need help looping through each record with a query -stumped

2002-01-09 Thread Brian Tully
, January 10, 2002 11:10 AM To: Martin Towell; 'Brian Tully'; PHP DB; PHP Subject: RE: [PHP] need help looping through each record with a query - st umped If you are querying the Score = 75 how are you ging to take the Consecutive requirement into the account. --- Martin Towell [EMAIL PROTECTED

[PHP] Need help with a stupid problem!

2001-11-29 Thread De Necker Henri
Hi there! I want to do the following piece SQL query : $search .= ba = '.$b.'; I want it to be like the following : ba = 'someting' But this is what i get : ba = \'someting\' What am i doing wrong? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

[PHP] Need help on current working directories

2001-11-29 Thread LeTortorec, Jean-Louis
Hi: I'm coding pages that need to include some general functions. File1 is an example of those pages. I also need to use the very same function file across several web sites. So, I created an additional file, where I have listed all the options for a particular site (which is then included into

[PHP] Javascript php / need help

2001-11-09 Thread xrichx
The problem is, i need a javascript which i can write into the database, which on the oher side can read out a php SESSION. Is this possible? Yes? how? It's for a navigation bar wich gets the names of links in the navigation bar out of the database, and i have a SESSION where he writes in, the

Re: [PHP] Javascript php / need help

2001-11-09 Thread Morten Winkler Jørgensen
x The problem is, i need a javascript which i can write into the database, x which on the oher side can read out a php SESSION. Is this possible? x Yes? how? Javascript in browser php on server Pass varibales from javascript - php via urls and forms Pass varibales from php - javascript via

Re: [PHP] need help with safe mode and Restrict where PHP is Usable?

2001-10-03 Thread Tamas Arpad
Hi, Both problems can be solved with php directives in httpd.conf or in .htaccess. You can just put php_value safe_mode off or php_value engine off into Directory definitions in httpd.conf to restrict only for some directories or into Virtual for virtual servers. (Of course in htaccsess you

[PHP] need help with safe mode

2001-10-02 Thread Richard Kurth
Can I add php_admin_flag safe_mode off to the httpd.conf file to turn safe mode off for just one site. And leave it on for the rest of the server. According to the manual this can be done but when I try it. It does not work. Is there something else I have to do to make this work properly.

[PHP] Need help with auto_prepend_file

2001-09-24 Thread Michael Champagne
Our website relies heavily on include files. We have a single include file that is 'auto prepended' to every php file on the site using the auto_prepend_file directive in php.ini. This include file does an include_once on other include files. Also, most parts of our code include other page

Re: [PHP] Need help with auto_prepend_file

2001-09-24 Thread * RzE:
Original message From: Michael Champagne [EMAIL PROTECTED] Date: Mon, Sep 24, 2001 at 09:28:01AM -0500 Message-ID: [EMAIL PROTECTED] Subject: [PHP] Need help with auto_prepend_file Our website relies heavily on include files. We have a single include file that is 'auto prepended' to every php

[PHP] Need help. please

2001-09-18 Thread John Holcomb
I'm sorry for those who my have responded to my last email. I thought I had plenty of room in my email client, but I forgot to delete my trash, so I did not get any responses. So, I'm going to restate my initial problem. Any help will be greatly appreciated. Thanks again I have a text

Re: [PHP] Need help. please

2001-09-18 Thread Gerard Samuel
John Holcomb wrote: I'm sorry for those who my have responded to my last email. I thought I had plenty of room in my email client, but I forgot to delete my trash, so I did not get any responses. So, I'm going to restate my initial problem. Any help will be greatly appreciated. Thanks

[PHP] NEED HELP: select box repeat

2001-09-17 Thread Brian Lee
OK I am trying to write a script that will bring data out of a database into a select box. But what I need it to do is repeat 5 times or more depending on what it brings out. I can only get it to display one select box. Here is what I got so far: ?php require 'common.inc'; // Connect to the

RE: [PHP] NEED HELP: select box repeat

2001-09-17 Thread Luboslav Gabal ml.
OK I am trying to write a script that will bring data out of a database into a select box. But what I need it to do is repeat 5 times or more depending on what it brings out. I can only get it to display one select box. Here is what I got so far: ?php require 'common.inc'; // Connect to

[PHP] need help with compiling apc-cache

2001-09-05 Thread Sebastian Stadtlich
Hi I'm completely desperate. it looks i'm missing something when i try to install the cache on my server :-[ maybe anyone can have a quick look and point me to my error. Thanks in advance.. i try to install APC on my redhat 7.1 server. I use apache apache_1.3.19 and built php in it. ( is

[PHP] Need help on putting variable into form

2001-08-27 Thread Hugh Danaher
Help. I have a page with a form with lots of text boxes which can be filled with data from a text file. the fopen() and fgets() works, and the text boxes which require numbers have no problems. But, I have text boxes which require several words of text and they refuse to work right. The

[PHP] Need help to create HTML table with 2 columns.

2001-08-23 Thread John Bass
Hi All, I am trying to generate a table with two columns. Each column should print 2 fields named image_link and web_url. Have spent over week looking documentations and trying different coding but nothing is working. Any help will be greatly appreciated. TABLE ?php $query = SELECT

<    1   2   3   4   5   6   >