[PHP] Please help on session_destroy error...

2004-01-01 Thread Tim Meader
I'm looking for help trying to do away with an error I get from time to time in my access control session logic. Here is my session setup from the php.ini: session.save_handler = files session.save_path = /tmp session.use_cookies = 1 session.use_only_cookies = 1 session.name = PHPSESSID session.

[PHP] Please help on session_destroy error...

2004-01-01 Thread Tim Meader
I'm looking for help trying to do away with an error I get from time to time in my access control session logic. Here is my session setup from the php.ini: session.save_handler = files session.save_path = /tmp session.use_cookies = 1 session.use_only_cookies = 1 session.name = PHPSESSID session.

[PHP] PEAR::SOAP using PHP...please help!

2003-12-19 Thread Sam Masiello
I have posted this question to both the PHP SOAP and the PEAR General lists and have not received a reply on either list (not a very responsive group, I guess :) ) so I thought I would try to reach a larger audience in hopes that perhaps one of you out there might be able to help. Any assistance

[PHP] please help past deadline

2003-08-26 Thread Jay Fitzgerald
can someone please look at my code below and tell me why it is only working half-way? It is only displaying radio buttons and seats for numbers 71, 73, 75, 77, 79, 81, 83, and 85.and it is printing seat # 76 since that is the one in the database between seats 81 and 83why is this happe

RE: [PHP] Please Help

2003-08-01 Thread Chris W. Parker
Jay Blanchard on Friday, August 01, 2003 9:24 AM said: > Sigh. What happened to the two *'s? I'm going to take this opportunity to be the bigger man and say I respect your opinion. ;) Chris. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visi

RE: [PHP] Please Help

2003-08-01 Thread Jay Blanchard
[snip] 1. Which do you think is most helpful and benefits the list the most? [/snip] Give a man a program, frustrate him for a day, teach a man to program, frustrate him for a lifetime. IOW send a person to start learning. The question was so vague that the answers given were appropriate. [snip]

RE: [PHP] Please Help

2003-08-01 Thread Chris W. Parker
Jay Blanchard on Friday, August 01, 2003 9:02 AM said: > Hmmm, let's see. The post had no clarity in the subject line, the post > showed no sense of "I tried to look it up", the post was vague You have three options: 1. Explain to them how they could have made thei

RE: [PHP] Please Help

2003-08-01 Thread Jay Blanchard
[snip] > It's always funny how people think these kinds of posts are helpful. > [/snip] > > They're not? Yes, they are not. [/snip] Hmmm, let's see. The post had no clarity in the subject line, the post showed no sense of "I tried to look it up", the post was vague, shall I go on? Folks on the l

RE: [PHP] Please Help

2003-08-01 Thread Chris W. Parker
Jay Blanchard on Friday, August 01, 2003 8:54 AM said: > It's always funny how people think these kinds of posts are helpful. > [/snip] > > They're not? Yes, they are not. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

RE: [PHP] Please Help

2003-08-01 Thread Jay Blanchard
[snip] John Manko on Thursday, July 31, 2003 11:26 PM said: > umm... ok. > > www.google.com > www.php.net > > that should get you started. It's always funny how people think these kinds of posts are helpful. [/snip] They're not? -- PHP General Mailing List (

RE: [PHP] Please Help

2003-08-01 Thread Chris W. Parker
John Manko on Thursday, July 31, 2003 11:26 PM said: > umm... ok. > > www.google.com > www.php.net > > that should get you started. It's always funny how people think these kinds of posts are helpful. c. -- PHP General Mailing List (http://www.php.net/) To

RE: [PHP] Please Help

2003-07-31 Thread Joseph Blythe
> -Original Message- > From: John Manko [mailto:[EMAIL PROTECTED] > Sent: Friday, 1 August 2003 3:56 PM > To: Sathiyabama > Cc: [EMAIL PROTECTED] > Subject: Re: [PHP] Please Help > > > umm... ok. > > www.google.com > www.php.net > > that should get you s

Re: [PHP] Please Help

2003-07-31 Thread Joona Kulmala
My requirement is 1.I want to send video file using mail() function in PHP.So how to send it.What is the procedure? http://fi2.php.net/manual/en/ref.mail.php Check out the templates, there is described how to build mail headers with attachments. PHPs own mail function doesn't support this by defa

Re: [PHP] Please Help

2003-07-31 Thread John Manko
want to send video file using mail() function in PHP.So how to send it.What is the procedure? 2.How to delete one folder using PHP? Please help me ... Regards, Sathiyabama -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Please Help

2003-07-31 Thread Sathiyabama
? 2.How to delete one folder using PHP? Please help me ... Regards, Sathiyabama -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Please Help

2003-07-30 Thread Jay Blanchard
[snip] I have two files one is letter.php and another is simple.php in simple.php i assign a value to a php variable , after assigning, i call letter.php in the same file. [/snip] http://www.php.net/include HTH -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.

[PHP] Please Help

2003-07-30 Thread Safal Solutions
Hello friends, I have two files one is letter.php and another is simple.php in simple.php i assign a value to a php variable , after assigning, i call letter.php in the same file. what is my requirment --- that assigned value in simple.php to a variable should displa

Re: [PHP] Please HELP me

2003-07-27 Thread Peter James
-- Original Message - From: "Rausch Alexandru" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, July 26, 2003 8:50 PM Subject: [PHP] Please HELP me I have some problem with uploading a file from my harddisk using a ftp connection. Here are the 2 files: test.php c

[PHP] Please HELP me

2003-07-27 Thread Rausch Alexandru
I have some problem with uploading a file from my harddisk using a ftp connection. Here are the 2 files: test.php contains the form: Titlu gif  ::  and test2.php is the script for upload : "; } $util=strtolower($util); $destination="tit.gif"; if(ftp_put($con, $destination, $util,

Re: [PHP] Please help!!!~~thx a lot

2003-07-24 Thread Curt Zirzow
* Thus wrote Joe ([EMAIL PROTECTED]): > I have just started to learn php and written a php to list the files. But > there is a problem, seen the is_dir() function can't work on remote files. > Therefore, it couldn't check the filetype of subdirectories. > Would anyone tell me what should I do. > Th

[PHP] Please help!!!~~thx a lot

2003-07-24 Thread Joe
I have just started to learn php and written a php to list the files. But there is a problem, seen the is_dir() function can't work on remote files. Therefore, it couldn't check the filetype of subdirectories. Would anyone tell me what should I do. Thx a lot begin 666 list.php M/#]P:' -"B @)&9I;&

[PHP] Please help!!! thx a lot~~~

2003-07-24 Thread Joe
I have written a php to show file in directories. The problem is due to is_dir() can't opearate on remote files. What should I do in order to fix it. thx a lot~~~ begin 666 list.php M/#]P:' -"B @)&9I;&5N86UE/2=L:7-T+G!H<"<[#0H@(&=L;V)A;" D8W5R MPT*(" @(" @(" @("1O=71P=71;,%U;,%T](CQ! M($A2148]7"(

Re: [PHP] Please Help !

2003-07-08 Thread Andrew McCombe
> Hi, > > I know this is really basic but i have a form for users to enter the > date of an event that i would like to store in a mysql database how do i > get the users input into the database in the right format. > > For date validation I always use a javascript calendar thingy available fro

Re: [PHP] Please Help !

2003-07-08 Thread Dan Anderson
> I know this is really basic but i have a form for users to enter the > date of an event that i would like to store in a mysql database how do i > get the users input into the database in the right format. Read up in the manual of mySQL, and the parts of the PHP doc on mySQL. mySQL dates are s

[PHP] Please Help !

2003-07-08 Thread Sean O'Reilly
Hi, I know this is really basic but i have a form for users to enter the date of an event that i would like to store in a mysql database how do i get the users input into the database in the right format.

[PHP] Please Help.. cgi.force_redirect does not work

2003-07-03 Thread Scott Fletcher
Hi! To make the long story short, we use IIS 5.0 with PHP 4.0.6 for a while. Then we builted a new database server, SQL-2000 and point the website to the new server. Then we notice the problem with the CGI error. So, we last week downloaded the PHP 4.3.3 and update the IIS with the newer PHP

[PHP] please help

2003-06-30 Thread Nabil
I have a form like: . . while($row = mysql_fetch_array($result)) { ?> > http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Please help can anyone figure whats wrong with this?

2003-06-25 Thread Steve Keller
At 6/25/2003 10:26 AM, Kevin Stone wrote: > You're missing a starting bracket. > > You know this was WAY too easy to find. What kind of editor are you using > that would miss something this obvious? A little indenting goes a long way... -- S. Keller UI Engineer The Health TV Channel, Inc. (a non

Re: [PHP] Please help can anyone figure whats wrong with this?

2003-06-25 Thread Kevin Stone
- Original Message - From: "Mark Clarkstone" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, June 25, 2003 10:10 AM Subject: [PHP] Please help can anyone figure whats wrong with this? > if (!$logusername) > echo " > > > > $s

[PHP] Please help can anyone figure whats wrong with this?

2003-06-25 Thread Mark Clarkstone
$sitename -- Login --- Error Sorry but the Staff at $sitename are currently configuring the members Area please return soon "; } else if ($allow =="yes") if (!$action) echo " $sitename -- Login Welcome to $sitename, Please Login below Username: Password: Register Forget

Re: [PHP] Please help !!!!!!!!!!!!!!!! (form)

2003-06-25 Thread Chris Hayes
Are you aware that since PHP 4.1.0 form vars only pass through as variables to the next page if you explicitly state in php.ini that you want that? Otherwise they are in $_GET or $_POST, depending on the form method. See 'new input mechanism' at http://www.php.net/release_4_1_0.php for the why

[PHP] Please help !!!!!!!!!!!!!!!!

2003-06-25 Thread Mark Clarkstone
can anyone tell me whats wrong with this script , I don't get errors Or anything it won't process a form right, test it & you'll see what i mean signup.php script $sitename -- Register -- disabled Sorry sign up has been disabled at this present time we apologize for any inconvenienc

[PHP] Please help.

2003-06-15 Thread Ben Houlton
How do I get a DB table open easily? So far, I've been using a metod that sometimes works and some times doesn't, I just want to know the easy way to do it. My code of what I'm doing now is below: $db = mysql_connect("localhost","root"); mysql_select_db("misc",$db); $result = mysql_query("

Re: [PHP] Please help

2003-06-10 Thread Wendell Brown
On Tue, 10 Jun 2003 21:14:52 +1000, Ben Houlton wrote: >I've tried this code on a web server and it worked, but on my localhost server it did >not work. It just looped the "ADD RECORD" text (not including database infomation). >My code is below: > > > > > >$register_globals; It sounds like you h

[PHP] Please help

2003-06-10 Thread Ben Houlton
I've tried this code on a web server and it worked, but on my localhost server it did not work. It just looped the "ADD RECORD" text (not including database infomation). My code is below: Return to $sub."; } elseif ($delete==areyousure) { $sql = "SELECT * FROM edit WHERE id=$id"; $result =

RE: [PHP] please help, simple problem (i think)

2003-06-07 Thread John W. Holmes
> Feeling a little braindead, please help. You post here more than I do. > The below program as you can see is extremly simple, > it connects to the database and runs a select (COUNT) query, this query > will > return 5 rows...so far so good, everything is working but I have no idea > how > to a

RE: [PHP] please help, simple problem (i think)

2003-06-07 Thread Boaz Yahav
might take you tomorrow. -Original Message- From: Ryan A [mailto:[EMAIL PROTECTED] Sent: Saturday, June 07, 2003 9:13 PM To: Boaz Yahav Cc: [EMAIL PROTECTED] Subject: Re: [PHP] please help, simple problem (i think) Hi, I dont have packageName therejust id,type Plus i need to do this

Re: [PHP] please help, simple problem (i think)

2003-06-07 Thread Ryan A
ot; <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Saturday, June 07, 2003 8:11 PM Subject: RE: [PHP] please help, simple problem (i think) > I guess you mean something like : > > $result=mysql_query("Select PackageName FROM Packages ORDER BY > PackageName") or d

RE: [PHP] please help, simple problem (i think)

2003-06-07 Thread Boaz Yahav
: [EMAIL PROTECTED] Subject: Re: [PHP] please help, simple problem (i think) Hi, Basically I am offering some packages and I want to say: These are the following packages with your account: package1 (-$row1-) package2 (-$row2-) package3 (-$row3-) package4 (-$row4-) package5 (-$row5-) how to do it?

Re: [PHP] please help, simple problem (i think)

2003-06-07 Thread Ryan A
> Sent: Saturday, June 07, 2003 8:54 PM > To: [EMAIL PROTECTED] > Subject: [PHP] please help, simple problem (i think) > > > Hi, > Feeling a little braindead, please help. > The below program as you can see is extremly simple, > it connects to the database and runs a

[PHP] please help, simple problem (i think)

2003-06-07 Thread Ryan A
Hi, Feeling a little braindead, please help. The below program as you can see is extremly simple, it connects to the database and runs a select (COUNT) query, this query will return 5 rows...so far so good, everything is working but I have no idea how to assign each of the rows to a variable so I c

[PHP] please help,newbie to sessions..

2003-04-05 Thread Kelly Meeks
Hi all, I've pulled my hair out on this, so I'm turning to the experts. I'm trying to make a directory of a site password protected: http://www.ivepulledmyhairout.com/protected I'm getting there from: http://www.ivepulledmyhairout.com I've got a login.php page that gets a username and passwor

Re: [PHP] Please Help with the Code

2003-03-13 Thread -{ Rene Brehmer }-
On Thu, 13 Mar 2003 23:21:38 +0100, Ernest E Vogelsinger wrote about "Re: [PHP] Please Help with the Code" what the universal translator turned into this: >What I'd do is to validate the user, setup a session where the user id is >stored (which is server side anyway), the

Re: [PHP] Please Help with the Code

2003-03-13 Thread Ernest E Vogelsinger
At 22:56 13.03.2003, Dalibor Malek said: [snip] >The function is pretty simple, In this Page is a form where the User can >enter his username and password, when he clicks on submit the script >checks the input with the entries in the database. If its ok the

[PHP] Please Help with the Code

2003-03-13 Thread Dalibor Malek
Hello Folks, I need help. This is my Code: // *** Start the session session_start(); // *** Validate request to log in to this site. $FF_LoginAction = $HTTP_SERVER_VARS['PHP_SELF']; if (isset($HTTP_SERVER_VARS['QUERY_STRING']) && $HTTP_SERVER_VARS['QUERY_STRING']!="") $FF_LoginAction .= "?".$

[PHP] Please help me with this .php file

2003-02-25 Thread bionicegg
Hello all, I am having problems with a script. The script works great on one of my sights, however, when I transferred it to another site, it does not function. I contacted my hosting company (both sites are on the same server), they told me that I needed to check the script and that it has

Re: [PHP] Please help!!

2003-02-23 Thread Larry E. Ullman
I have installed a script named ALUMNI in www.alipso.com/alumni but there is an error somewhere, and I can´t find it... Please post the code here if it's not too long (in your email, not as an attachment) so that we can see it. Please enter to http://alipso.com/alumni/addschool.php3 and try to a

[PHP] Please help!!

2003-02-23 Thread compuba
Hi!! I have installed a script named ALUMNI in www.alipso.com/alumni but there is an error somewhere, and I can´t find it... Please enter to http://alipso.com/alumni/addschool.php3 and try to add a school... you will receive an error... To access through FTP Host address: www.alipso.com User:

[PHP] POST with PHP -- please help !

2003-02-03 Thread arthur.chereau
I need to redirect the browser to an external website and to automatically send POST data to the site, without a form. Basically I need header("Location: ...") - that is true redirection - with POST. How can I do this with PHP ? -- Faites un vo

RE: [PHP] please help

2003-01-20 Thread Marios Adamantopoulos
If you are using IIS you you need to set the Execute permitions on the directory you are running the file Not sure on apache -Original Message- From: JamsterJAM [mailto:[EMAIL PROTECTED]] Sent: 20 January 2003 17:52 To: [EMAIL PROTECTED] Subject: Re: [PHP] please help I am running my

Re: [PHP] please help

2003-01-20 Thread JamsterJAM
<[EMAIL PROTECTED]> Sent: Sunday, January 19, 2003 8:46 PM Subject: Re: [PHP] please help > On Sun, 2003-01-19 at 12:57, JamsterJAM wrote: > > Hi, > > I have a problem. I have created a guestbook for my server and i have php installed. You enter deatils and the guestbook stores

Re: [PHP] please help

2003-01-19 Thread Jason Sheets
What version of PHP is running on the server, what version did you develop the script with? Do you know if register globals are on or off? You can get a lot of information about PHP by doing Do you receive any error messages indicating the file can not be opened for writing or does it silently

Re: [PHP] please help

2003-01-19 Thread Ray Hunter
On Sun, 2003-01-19 at 12:57, JamsterJAM wrote: > Hi, > I have a problem. I have created a guestbook for my server and i have php installed. >You enter deatils and the guestbook stores it in guestbook.dat.php file. The >guestbook itself is also a php file. I have tryed it on other hosts and it has

[PHP] please help

2003-01-19 Thread JamsterJAM
Hi, I have a problem. I have created a guestbook for my server and i have php installed. You enter deatils and the guestbook stores it in guestbook.dat.php file. The guestbook itself is also a php file. I have tryed it on other hosts and it has worked. When i run it on my server it doesnt store

Re: [PHP] please help! version switching problem

2003-01-10 Thread christian stalberg
gt; Cc: <[EMAIL PROTECTED]> Sent: Friday, January 10, 2003 3:01 PM Subject: Re: [PHP] please help! version switching problem > I know that and it does correlate with the php 4.0.4pl1 install. > BTW, I did compile and install PHP as a static binary > (if that makes any differen

Re: [PHP] please help! version switching problem

2003-01-10 Thread Marek Kilimajer
ECTED]> Cc: <[EMAIL PROTECTED]> Sent: Friday, January 10, 2003 2:08 PM Subject: Re: [PHP] please help! version switching problem chech if libphp4.so in apache lib directory (usualy /usr/lib/apache/) is the right version christian stalberg wrote: redhat linux 7.3 apache 1.3

Re: [PHP] please help! version switching problem

2003-01-10 Thread christian stalberg
how do I check that? - Original Message - From: "Marek Kilimajer" <[EMAIL PROTECTED]> To: "christian stalberg" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Friday, January 10, 2003 2:08 PM Subject: Re: [PHP] please help! version switching pro

Re: [PHP] please help! version switching problem

2003-01-10 Thread Marek Kilimajer
chech if libphp4.so in apache lib directory (usualy /usr/lib/apache/) is the right version christian stalberg wrote: redhat linux 7.3 apache 1.3.27 mysql 3.23.49 php 4.0.4pl1 (static install) mod_ssl-2.8.12 the box had php 4.2.3 installed on it originally. we had a mysql application that would

[PHP] please help! version switching problem

2003-01-10 Thread christian stalberg
redhat linux 7.3 apache 1.3.27 mysql 3.23.49 php 4.0.4pl1 (static install) mod_ssl-2.8.12 the box had php 4.2.3 installed on it originally. we had a mysql application that would only run with php version 4.0.4pl1 so we installed the old version of php and everything worked. then we ran autorpm wi

Re: [PHP] please help me, y have a error

2003-01-05 Thread Marek Kilimajer
Means php tried to access memory page address it did not have. Try to find out if it was php itself or a loaded module, then upgrade the offending part and see if it still happens again. Ysrael Guzmán wrote: this is the message of the ERROR: PHP has encountered an Access Violation at 012B7DE7

[PHP] please help me, y have a error

2003-01-03 Thread Ysrael Guzmán
this is the message of the ERROR: PHP has encountered an Access Violation at 012B7DE7 what this Ysrael Guzmán Meza -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PLEASE HELP

2002-12-30 Thread Dale
I was able to successfully install the php on my win2k server. I am, however, getting an error any time I try to initialize a variable. This is the error I am getting: Notice: Undefined index: adv_auth in ...\mysql\lib.inc.php on line 132 I am not sure as to whether I forgot to do something when

Re: [PHP] Please help - uploading multiple files

2002-12-10 Thread @ Edwin
Hello, "Allred, Mark" <[EMAIL PROTECTED]> wrote: > Darn, that's what I was afraid of. > > Is there a way to do this in a client-side language like JavaScript? Javascript? No, I don't think so. (Maybe Java.) But, of course, you can always get a second opinion from a Javascript ML :) - E ...[sni

RE: [PHP] Please help - uploading multiple files

2002-12-10 Thread Allred, Mark
Darn, that's what I was afraid of. Is there a way to do this in a client-side language like JavaScript? Mark -Original Message- From: Ernest E Vogelsinger [mailto:[EMAIL PROTECTED]] Sent: Monday, December 09, 2002 5:50 PM To: Allred, Mark Cc: 'php' Subject: Re: [P

Re: [PHP] Please help - uploading multiple files

2002-12-09 Thread Ernest E Vogelsinger
At 23:10 09.12.2002, Allred, Mark said: [snip] >The problem is, I have to click "Browse" for each file. > >I want to be able to access the functionality to allow for Shift-Click >series picker that everyone probably knows about. I need to be able to >slurp

[PHP] Please help - uploading multiple files

2002-12-09 Thread Allred, Mark
Hi, I am very new to PHP, but it looks like it can do quite a bit. I am impressed by the number of array functions there are. I have a question. I am trying to create a php program that will allow for multiple file uploads. I already have the HTML working for enctype="multipart/form-data". I

Re: [PHP] please help, one question regarding installing GD_2.0.4with PHP_4.2.3

2002-11-11 Thread Rasmus Lerdorf
PHP 4.2.3 does not support GD 2.0.4. You need GD 2.0.1 or upgrade to the latest CVS version of PHP. (and please do not crosspost to multiple lists) -Rasmus On Mon, 11 Nov 2002, Hua (William) Li wrote: > Hello folks, > > My name is Will. I am currently using GD_2.0.4 with PHP_4.2.3 and Apache_1

[PHP] please help, one question regarding installing GD_2.0.4 with PHP_4.2.3

2002-11-11 Thread Hua \(William\) Li
Hello folks, My name is Will. I am currently using GD_2.0.4 with PHP_4.2.3 and Apache_1.3.27. I installed everything without errors. But, when I try to run my apache server, I have seen following error:

[PHP] Please Help: PHP Cookies Problem on localhost

2002-11-05 Thread Mark Brown
Hi there, the php.net site said I should email you with problems. The basic issue is that I have a user logon screen which works on a remote server but not when developing on the same machine that is a local server. I hold the username and passwords on mysql and ask the user for their username an

[PHP] Please Help

2002-10-28 Thread Erich Kolb
I would like to offer a free webhosting account to the first 25 people who apply. We are in the process of starting an internet services company and would like to offer these accounts provided that the applicants are willing to provide some feedback on our service. All free accounts include:

[PHP] Please help - Safe mode and directory permission

2002-10-03 Thread Rudolf Wolf
Hello, I'm working with Safe mode and I have a big trouble how the PHP is behaved. I have the web root and under them is directory, where my scripts are. This is my situation: rwxr-xr-x www www /var/www/htdocs Web root rwxr-xr-x www www /var/www/htdocs/test

RE: [PHP] Please, Help dynamicaly creating an Array

2002-09-18 Thread Max Sullivan
x27;THREE'"; $b = "3"; $data1 = array('ONE'=>1,'TWO'=>2); $data2[$a] = $b; $test = $data1 + $data2; -Original Message- From: Marek Kilimajer [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 18, 2002 1:54 AM To: PHP Subject: Re: [PHP] Plea

Re: [PHP] Please, Help dynamicaly creating an Array

2002-09-18 Thread Marek Kilimajer
Try eval(), like this: $str= "'THREE'=>3, 'FOUR'=>4"; eval("\$data2 = array('ONE'=>1,'TWO'=>2,$str);"); Max Sullivan wrote: >I am trying to populate array values and keys from a variable with no >luck. > >Lets say I have the following array. > >$data1 = array('ONE'=>1,'TWO'=>2,'THREE'=>3,'FOU

[PHP] Please, Help dynamicaly creating an Array

2002-09-17 Thread Max Sullivan
I am trying to populate array values and keys from a variable with no luck. Lets say I have the following array. $data1 = array('ONE'=>1,'TWO'=>2,'THREE'=>3,'FOUR'=>4); And I want to create part of the array with the string below: $str= "'THREE'=>3, 'FOUR'=>4"; $data2 = array('ONE'=>1,'TWO'=

Re: [PHP] From ASP to PHP please help

2002-09-06 Thread Richard Baskett
t;Iguider" <[EMAIL PROTECTED]> > Date: Fri, 6 Sep 2002 22:55:16 - > To: <[EMAIL PROTECTED]> > Subject: [PHP] From ASP to PHP please help > > Hi > I have a site web made in ASP ( using frontpage software), After I read > about php I decided to re-do all my

[PHP] From ASP to PHP please help

2002-09-06 Thread Iguider
Hi I have a site web made in ASP ( using frontpage software), After I read about php I decided to re-do all my site with PHP, but still new in php script I need help to show me the best way to change borders in ASP to php . as you know frontpage software put the borders in "_borders", I can still

Re: [PHP] Please help with fresh fish.

2002-09-04 Thread Anh
Hello Rene, Thanks a lots. >You already found the best PHP forum there is ;-) I believe so :-) Anh "René moonen" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Anh wrote: > > >Hello everyone, > > > >I would like to study PHP but do not have any experience

Re: [PHP] Please help with fresh fish.

2002-09-03 Thread René Moonen
Anh wrote: >Hello everyone, > >I would like to study PHP but do not have any experience about PHP or >programming. Could you please give me some advice to begin such as books, >news, forum... > >Many thanks in advance, >Anh > > > > > You already found the best PHP forum there is ;-) René

Re: [PHP] Please, help with Sourceforge's PHP command-line not working at all

2002-09-03 Thread Tomasz Orzechowski
Alberto wrote on Tue, Sep 03, 2002 at 06:32:56PM -0300: > There is an error code that says that it cannot load module 'mm' at line > 0, or something like that. in your shell do: ldd `which php` it will most likely say something like: 'libmm.so.11 not found' you will then need to find the 'mm'

[PHP] Please help with fresh fish.

2002-09-03 Thread Anh
Hello everyone, I would like to study PHP but do not have any experience about PHP or programming. Could you please give me some advice to begin such as books, news, forum... Many thanks in advance, Anh -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.n

[PHP] Please, help with Sourceforge's PHP command-line not working at all

2002-09-03 Thread Alberto
Hello, I was suggested by a user at SF to write you to see if you could provide me some ideas of what is going wrong with the new PHP command-line at SourceForge. I used to do some daily work in PHP and crontab at my site in SF but now it is not working any longer. I think that it has sta

[PHP] ###PLEASE HELP### - delete a line from a text file

2002-08-16 Thread radio x
i have a text file with some of this elements: name:adress:telephone:email:password i want to delete this line using for identifier the 'name' only. // $sterge_user="name"; this is the value sent by form witch will be the identifier // $path="some_of_my_files"; the file used here allready set

[PHP] Access Violations with PHP Please Help Please

2002-08-10 Thread Christopher J. Crane
I get the following errors when I run my script. It works fine with only 20 records, but at 100 I get errors. "PHP has encountered an Access Violation at 00DA088E Warning: Unknown list entry type in request shutdown (2) in c:\www\htdocs\demos\ct.org\directory.php on line 0" or "PHP has encount

Re: [PHP] Please help with array_diff()

2002-08-09 Thread Jason Wong
On Saturday 10 August 2002 01:50, Gandalf wrote: > Well of course $foo[0] contains the first dimension of the $foo array and > the same goes for $bar[0]. The first rule of debugging is not to assume anything. Perhaps I should've phrased my question better: "Print out the damn things and see wh

Re: [PHP] Please help with array_diff()

2002-08-09 Thread Stig Venaas
On Fri, Aug 09, 2002 at 07:50:46PM +0200, Gandalf wrote: > Well of course $foo[0] contains the first dimension of the $foo array and > the same goes for $bar[0]. > > It is still not working as it should, i am close to going nuts. If I understood you correctly, there is no element 0 in $foo and

Re: [PHP] Please help with array_diff()

2002-08-09 Thread Gandalf
Well of course $foo[0] contains the first dimension of the $foo array and the same goes for $bar[0]. It is still not working as it should, i am close to going nuts. At 11:43 09.08.2002 +0800, you wrote: >On Friday 09 August 2002 06:14, Gandalf wrote: > > > > > $diff = array_diff($foo[0], $bar[0

Re: [PHP] Please help with array_diff()

2002-08-08 Thread Jason Wong
On Friday 09 August 2002 06:14, Gandalf wrote: > > $diff = array_diff($foo[0], $bar[0]); What does $foo[0] and $bar[0] contain? -- Jason Wong -> Gremlins Associates -> www.gremlins.com.hk Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Develop

[PHP] Please help with array_diff()

2002-08-08 Thread Gandalf
Hello! Please have a look at the following sample code and help me out if you can $db = new db_SQL(); $sql = "SELECT Name, Email FROM whatever WHERE whatever=whatever"; $db->query( $sql ); while ($db->next_record()) { //This is my first array $foo[] = array ("name"=>$db->f("Name"),

Re: [PHP] Problems with HTML forms and PHP. Please Help !!

2002-08-02 Thread Bob Lockie
Is register_globals off in your php.ini? Try $var = $_REQUEST['var']; >Hi! i have instaled PHP 4.2.2 in a slack 8.1 running apache 2.0.39. >i have a proble with a very basic script (pass variables to a php >script). Is seems not recieve variables, because print somthing like this: > >Your first

[PHP] Problems with HTML forms and PHP. Please Help !!

2002-08-02 Thread Sebastian Tomasino
Hi! i have instaled PHP 4.2.2 in a slack 8.1 running apache 2.0.39. i have a proble with a very basic script (pass variables to a php script). Is seems not recieve variables, because print somthing like this: Your first name is . Your last name is . Your E-mail address is . This is what you had

[PHP] Please help with Array..

2002-07-19 Thread Wee Keat
Hi all how are yas? I have one question for which I could not find the answer: How do I remove an element of an array with a specific key or index? To be clearer: Lets say I have an array $shoppingCart[] (quite a lot of them) I want to delete $shoppingCart[345] (whi

Re: [PHP] Please Help with LOOP!! - Questions Answered!!!

2002-07-18 Thread Wee Keat
anson, Asmodean, Martin and Dave. and all who helped. Really really appreciate it. KISS TO ALL OF YAS!!! - Original Message - From: "Martin Towell" <[EMAIL PROTECTED]> To: "PHP General" <[EMAIL PROTECTED]> Sent: Friday, July 19, 2002 10:46 AM Sub

RE: [PHP] Please Help with LOOP!!

2002-07-18 Thread Jerome Houston
martin- you're totally right except for one thing >$count=1; >while($query_data = mysql_fetch_array($result)) >{ > $price = $query_data["price_lq"]; > $RowColor = useColor(); > // current echo statements here >} >$count++; this code will give him the exact same problem. the $count++;

RE: [PHP] Please Help with LOOP!!

2002-07-18 Thread Martin Towell
]] Sent: Friday, July 19, 2002 10:48 AM To: PHP General Subject: Re: [PHP] Please Help with LOOP!! Hello Wee, Friday, July 19, 2002, 2:36:40 AM, you wrote: WK> Hi all... WK> I'm a complete beginner in programming. Just started a few months ago. WK> So, I'm sorry if this is

Re: [PHP] Please Help with LOOP!!

2002-07-18 Thread Asmodean
Hello Wee, Friday, July 19, 2002, 2:36:40 AM, you wrote: WK> Hi all... WK> I'm a complete beginner in programming. Just started a few months ago. WK> So, I'm sorry if this is a stupid question to ask. But I'm at a dead end here and do not know where else to go. WK> I'm trying to automate a

[PHP] Please Help with LOOP!!

2002-07-18 Thread Wee Keat
Hi all... I'm a complete beginner in programming. Just started a few months ago. So, I'm sorry if this is a stupid question to ask. But I'm at a dead end here and do not know where else to go. I'm trying to automate a checkbox name to have the name "choice1" to have incremental effect on the

Re: [PHP] Re: Program executing in PHP. Please help (SOLVED)

2002-07-04 Thread Latex Master
Hello Richard, PHP, Well I did a typo here. Sorry about it. At that moment i was really nuts, and needed a rest. Now I solved that problem, but only after UPDATING PHP from 4.0.6 to 4.2.1 And shell_exec worked. Exec didn't :( I'm going to investigate this question in the future. Thank's for

[PHP] Re: Program executing in PHP. Please help

2002-07-03 Thread Richard Lynch
>$output = shell_exec("uudeview -i /bla/bla.txt -p /bla/bla/"); >echo ""; >echo $kick_my_ass; >echo ""; >?> > And I get nothing :(. Script like below: Well, no... Your data is in $output, and you are echo-ing out $kick_my_ass... Try echo $output >$output = shell_exec("uudeview"); >echo ""; >ec

[PHP] Program executing in PHP. Please help

2002-07-03 Thread Latex Master
Hello php-general, Dear php list, I've got completely lost in program execution under php. I need to run a command grab it's output for the next processing, So I wrote a script: "; echo $kick_my_ass; echo ""; ?> And I get nothing :(. Script like below: "; echo $kick_my_ass; echo ""; ?> W

Re: [PHP] PLEASE HELP-Unable to get off this list

2002-06-22 Thread Jason Wong
On Sunday 23 June 2002 05:40, [EMAIL PROTECTED] wrote: > I still do have to welcome email, the problem like I mentioned in my first > email is that I have been blocked by the admin/s and cannot send the owner > a letter or send the unsubscribe email, it just bounces back :-( Have you tried using

<    1   2   3   4   >