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

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

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

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

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

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

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

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'

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

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

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

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

2002-06-22 Thread r
Hey there dude, > Flooding the list with requests to unsubscribe _annoys_ people. > Didnt mean to flood the list, my mail program is giving me a bit of a problem and I didnt know if the mail had gone or not. > Go and ask yourself! If you had kept/read the welcome message that you shou

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

2002-06-22 Thread Jason Wong
On Sunday 23 June 2002 03:39, [EMAIL PROTECTED] wrote: > Now I have a differient kind of problem, My mailbox ([EMAIL PROTECTED]) is > getting flooded and I would like to stop recieveing mail from the list, I > have tried unsubscribing a number of times without any success as the > admin/moderator

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

2002-06-22 Thread Chris Shiflett
Go here and do it yourself: http://www.php.net/mailing-lists.php [EMAIL PROTECTED] wrote: >If any of you have an idea on who the admin is kindly tell him to remove me, he/she >can send me a confirmation email if needed to prove that "[EMAIL PROTECTED]" is my address >too, but please ask him/h

RE: [PHP] PLEASE HELP! session variable fails to persist!!

2002-06-18 Thread Ford, Mike [LSS]
> -Original Message- > From: Zlutarch G. [mailto:[EMAIL PROTECTED]] > Sent: 15 June 2002 00:54 > > My session variables won't persist, could someone help me > with this problem? PHP version? (If <=4.0.6, $_SESSION doesn't exist.) Which Web server? Version? > I spent all day trying

Re: [PHP] PLEASE HELP! session variable fails to persist!!

2002-06-14 Thread Zlutarch G.
llas <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: Re: [PHP] PLEASE HELP! session variable fails to persist!! >Date: Sat, 15 Jun 2002 01:05:47 +0100 > >On Saturday, June 15, 2002 at 12:53:47 AM, Zlutarch G. wrote: > > The session ID is the same for a given sessio

Re: [PHP] PLEASE HELP! session variable fails to persist!!

2002-06-14 Thread Stuart Dallas
On Saturday, June 15, 2002 at 12:53:47 AM, Zlutarch G. wrote: > The session ID is the same for a given session, that means the server knows > its the same session. And since I get the value "1" each time, I can see > that the $_SESSION["var"] is a global variable with a value of "1". But it > se

RE: [PHP] [PLEASE HELP] Passing variable to new page.

2002-06-06 Thread David Freeman
> echo ""; > echo" function pop1() {"; > echo" window.open(\"info.php?prod_id=$result[0]\"); }"; > echo ""; > I am calling this function in the following manner: echo" onclick=\"pop1();\""; OK, I tend not to put javascript inside php echo statements as it confuses things - which variables

RE: [PHP] [PLEASE HELP] Passing variable to new page.

2002-06-06 Thread Scott Hurring
e [mailto:[EMAIL PROTECTED]] > Sent: Thursday, June 06, 2002 2:50 PM > To: [EMAIL PROTECTED] > Subject: Re: [PHP] [PLEASE HELP] Passing variable to new page. > > > > echo ""; > > echo" function pop1() {"; > > echo" window.open(\"info.php?pr

Re: [PHP] [PLEASE HELP] Passing variable to new page.

2002-06-06 Thread Chris Knipe
> echo ""; > echo" function pop1() {"; > echo" window.open(\"info.php?prod_id=$result[0]\"); }"; \\ $result[0] is > variable that stores id of the image in database > echo ""; > > I am calling this function in the following manner: echo" onclick=\"pop1();\""; ^ You're not pass

Re: [PHP] please help!!

2002-05-25 Thread 1LT John W. Holmes
> Saturday, May 25, 2002, 9:13:02 AM, you wrote: > > JN> Hi Hi, > > JN> php + apache + win2000 > JN> or > JN> php + IIS + win2000 > JN> I don't know why my setting do not allow me to POST or GET variable which submit in html > JN> Please help!!! > > JN> Jolly Turn on register_globals or use the

Re: [PHP] please help!!

2002-05-25 Thread Olexandr Vynnychenko
Hello Jolly, Saturday, May 25, 2002, 9:13:02 AM, you wrote: JN> Hi Hi, JN> php + apache + win2000 JN> or JN> php + IIS + win2000 JN> I don't know why my setting do not allow me to POST or GET variable which submit in html JN> Please help!!! JN> Jolly Let us read your html and php code. I'v

Re: [PHP] Please Help

2002-04-16 Thread Steve Cayford
Check out the bottom of each message... -Steve On Tuesday, April 16, 2002, at 10:43 AM, Omland Christopher m wrote: > Can anyone tell me how to unsubscribe. There is just a bit too much > volume > for me. > Thanks. > -Chris > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubs

Re: [PHP] Please help with code

2002-04-01 Thread Harry Yu
You forgot to select the database that you want to insert. Ex: $db = mysql_select_db ( mydatabase ); Hope this helps, Harry --- "Denis L. Menezes" <[EMAIL PROTECTED]> wrote: > Hello friends, > > can someone tell me what is wrong with this code : > > > > > > > > > >

RE: [PHP] Please help with code

2002-04-01 Thread Rick Emery
You CANNOT execute the PHP script until the form is submitted. You are attempting to do both at the same time. Second, ALL your text fields muse be surrounded by quotes in your INSERT statement. Third, use NULL, not UNIX_TIMESTAMP() to insert a timestamp field. In the following, assume the name

Re: [PHP] Please help with code

2002-04-01 Thread Erik Price
On Monday, April 1, 2002, at 11:08 AM, Denis L. Menezes wrote: > $query="INSERT INTO news (newsid,title, author, body, posted) > VALUES($newsid,$title, $author, $body, UNIX_TIMESTAMP())"; > IF (mysql_query($query)){ > print "Row added to table"; > } else { > print "error adding r

Re: [PHP] Please help with code

2002-04-01 Thread Denis L. Menezes
Should I change the position of the php code? Thanks denis - Original Message - From: "Andrew Brampton" <[EMAIL PROTECTED]> To: "Denis L. Menezes" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, April 02, 2002 12:31 AM Subject: Re: [PHP]

Re: [PHP] Please help with code

2002-04-01 Thread Andrew Brampton
You are not actually posting the form to a page with your PHP on... so its trying to insert that form into your DB before u actually fill it out. either check if the form has been posted before running your PHP, or split this into 2 pages Andrew - Original Message - From: "Denis L. Meneze

RE: [PHP] Please help

2002-03-26 Thread SHEETS,JASON (Non-HP-Boise,ex1)
Hi Denis, You need to give some more information, what database are you using, how is your database table layed out? If you are using MySQL you need to use the mysql_ functions, you can find out more about these in the PHP manual. If you need some help getting started with PHP there are some li

Re: [PHP] Please help

2002-03-26 Thread Miguel Cruz
On Tue, 26 Mar 2002, Denis L. Menezes wrote: > I am a newbie and need some help. > > I have a form with three textboxes named "firstname", "lastname" and > "description" > > My table is called "addressbook" > > Please tell me the INSERT statement. Also please tell me whether I should > include

Re: [PHP] Please help

2002-03-26 Thread JSheble
I realize that this is a newbie list, but isn't this just a tad bit ridiculous? It's not even a PHP question really, it's a SQL question. Here's a question... I need a form that accepts a name. Please write the code for me so I don't have to bother looking anything up, reading anything, a

Re: [PHP] Please help with files.

2001-09-21 Thread Michael van Bracht
> Hello everyone- > > Here's my problem.. I have a script that uploads an image and then resizes > that image to a certain size etc. Then it takes that image and copies it to > a spefic location. My problem occurs when trying to copy the file to the > specific location because I get a permission

Re: [PHP] Please help!!! Trying to write some chat script!

2001-09-20 Thread Sheridan Saint-Michel
Administrator FoxJet, an ITW Company www.foxjet.com - Original Message - From: "nico_oreka" <[EMAIL PROTECTED]> To: "Sheridan Saint-Michel" <[EMAIL PROTECTED]>; "Diadon" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Thursday, September 20,

Re: [PHP] Please help!!! Trying to write some chat script!

2001-09-19 Thread nico_oreka
[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, September 19, 2001 6:27 PM Subject: Re: [PHP] Please help!!! Trying to write some chat script! > There actually isn't much technology in a chat room. It is a fairly simple > program. > > Basically you have a we

Re: [PHP] Please help!!! Trying to write some chat script!

2001-09-19 Thread Sheridan Saint-Michel
There actually isn't much technology in a chat room. It is a fairly simple program. Basically you have a webpage which checks retrieves all the messages from and prints them, then provides a place for the user to enter stuff into . can be any number of things such as a flat file, or a MySQL

Re: [PHP] please help.

2001-07-18 Thread McShen
ok thx "Michael Geier" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > try using the attached class. > > $time = new timer; > $time->start(); > > // some code > > $time->stop(); > $total = $time->gettime(); > echo $total; > ?> > > -Original Message- > F

RE: [PHP] please help.

2001-07-18 Thread Michael Geier, CDM Systems Admin
try using the attached class. start(); // some code $time->stop(); $total = $time->gettime(); echo $total; ?> -Original Message- From: McShen [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 18, 2001 11:08 AM To: [EMAIL PROTECTED] Subject: [PHP] please help. hi I wanna see how long

RE: [PHP] Please Help......

2001-07-02 Thread scott [gts]
as a start, you'll probably have to update httpd.conf (if you're using apache) and named ... or at least know how both work. please read the pertinent docs. > -Original Message- > From: Man He [mailto:[EMAIL PROTECTED]] > Sent: Thursday, June 28, 2001 10:51 PM > To: [EMAIL PROTECTED] >

Re: [PHP] Please Help......

2001-06-30 Thread Kurth Bemis
I think that maybe when somebody subs to the list they get a info-email. mostly saying "THIS IS PHP ONLY. Not a clueless linux newbie list. that's why they have LUGS." Do any of you agree with me? I think that its neededbasically saying - look at the manual first..then ask on the list

Re: [PHP] Please Help......

2001-06-30 Thread Julia A. Case
This could be difficult or not even possible... first you would need to add entries to the DNS zone file (and update the serial number) and then reload the DNS database, and this is only if you run your own DNS and not have your provider do it for you, like many of us do. Then you would have

Re: [PHP] Please help!!!! HTTP problem...

2001-05-18 Thread Chris Lee
that should work, if you dont want the username and password seen in the url bar the once your at that page, see if the username:password@ are in the url, if so header_redrect to the same page minus the username/passwd. once a browser has the username/passwd it remembers it and sends it on ever

Re: [PHP] Please help me with this.

2001-05-11 Thread Young Chi-Yeung Fan
"Johan Vikerskog (ECS)" wrote: > ok. > I have this problem of mine which i dont know how to solve. therefor i use this >great mailing list. > > Lets say i have a URL that looks something like below. This URL was generated from a >program that starts netscape with this adress. This adress is of

RE: [PHP] Please help

2001-05-10 Thread Johnson, Kirk
I think this question was answered by Stewart Taylor earlier today. Here is his response: " This error occurrs when you start a session that recreates an object variable but does not know the class definition for it. You need to make sure you include the class source before you start the session.

Re: [PHP] PLEASE HELP!! STRANGE ERROR!! IS THERE ANY PHP DEVELOPER?

2001-04-25 Thread Pavel Jartsev
Daniel BI wrote: > > Did anybody have the same error? > > I have this simple script: > > === > session_start() ; > ?> > > ENCTYPE="multipart/form-data" ACTION="another_script.php"> > > -- Pavel a.k.a. Papi -- PHP General Mailing List (http://www.php.net/) To unsubscrib

Re: [PHP] PLEASE HELP!! STRANGE ERROR!! IS THERE ANY PHP DEVELOPER?

2001-04-25 Thread Yasuo Ohgaki
Do you enable trans-sid? What happen if you disable it? (There are several trans-sid related bugs are fixed since 4.0.1, I think.) Regards, -- Yasuo Ohgaki ""Daniel BI"" <[EMAIL PROTECTED]> wrote in message 002201c0cd70$2f8d6240$02001aac@adsl">news:002201c0cd70$2f8d6240$02001aac@adsl... > Did a

RE: [PHP] PLEASE HELP!! STRANGE ERROR!! IS THERE ANY PHP DEVELOPER?

2001-04-25 Thread Maxim Maletsky
correct: we are PHP developers, not JavaScript. However, I am sure that the amount and configurations of your computers don't matter here. try to look for a simple problem. Try to rewrite it all again, etc... not a big deal - don't hit your head to the wall. Sincerely, Maxim Maletsky Foun

RE: [PHP] Please Help!

2001-04-02 Thread Samantha Savvakis
I'd check where "class.FastTemplate.php" is located in relation to the current file you are running. Fully qualify the path for the "include" statement. Also, what are the permissions on this file? Are they readable by the apache user? > -Original Message- > From: E K L [mailto:[EMAIL P

Re: [PHP] Please Help!

2001-04-02 Thread Steve Werby
"E K L" <[EMAIL PROTECTED]> wrote: > $tpl = new FastTemplate("../usr/local/apache/htdocs/toplevel.tpl"); According to the error, the path above is incorrect. Looking at it, my guess is that the path might really be: "/usr/local/apache/htdocs/toplevel.tpl" -- Steve Werby President, Befriend Int

Re: [PHP] Please Help!

2001-04-02 Thread KPortsmout
In a message dated 03/04/2001 03:52:47 GMT Daylight Time, [EMAIL PROTECTED] writes: << include "class.FastTemplate.php"; >> Just for a start, I didn`t notice anything else in the code... include ("class.FastTemplate.php"); Ade -- PHP General Mailing List (http://www.php.net/) To unsubscri

Re: [PHP] please help with this simple problem

2001-03-22 Thread adam
it works now, only it's earasing everything and then writing to the file. i think we have almost got this figured out. here's what the code looks like for the entire tag... --- ", $message); $date = date("l, F j Y, h:i a"); $message = "mailto:$email>$name -- $da

Re: [PHP] please help with this simple problem

2001-03-22 Thread adam
it works now, only it's earasing everything and then writing to the file. i think we have almost got this figured out. here's what the code looks like for the entire tag... --- ", $message); $date = date("l, F j Y, h:i a"); $message = "mailto:$email>$name -- $da

RE: [PHP] please help with this simple problem

2001-03-22 Thread Stewart Taylor
wart -Original Message- From: adam [mailto:[EMAIL PROTECTED]] Sent: 22 March 2001 12:00 To: [EMAIL PROTECTED] Subject: Re: [PHP] please help with this simple problem i tryed it and it ended up having an error that was caused originally by a lack of a $ on the 3rd line variable... after

Re: [PHP] please help with this simple problem

2001-03-22 Thread rui
you haven't specified the open type (a = append, w = write, r = read only , etc etc) solution $fp=fopen(basename($fname), "a"); just to match your example. On 22-Mar-2001 adam wrote: > i tryed it and it ended up having an error that was caused originally by a > lack of a $ on the 3rd line var

Re: [PHP] please help with this simple problem

2001-03-22 Thread adam
i tryed it and it ended up having an error that was caused originally by a lack of a $ on the 3rd line variable... after i fixed that it said wrong perameter count for fopen() on the third line, and "Warning: Supplied argument is not a valid File-Handle resource" for the remaining lines below that

RE: [PHP] please help with this simple problem

2001-03-22 Thread Stewart Taylor
You need to copy the contents of the current file. Then recreate the file by writing the new message then writing back the original contents. e.g. $fname = basename($PHP_SELF). ".comment"; $fsize = filesize($fname); fp = fopen(basename($fname)); $data = fread($fp,fsize); fwrite($fp,$message); fwr

RE: [PHP] Please Help!!!! - Really BASIC stuff!

2001-03-06 Thread Jon Snell
to insert/select/update to the database the website works with). Jon Snell -Original Message- From: Nick Norton [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 06, 2001 3:57 PM To: [EMAIL PROTECTED] Subject: RE: [PHP] Please Help - Really BASIC stuff! Just put the following instead of a l

RE: [PHP] Please Help!!!! - Really BASIC stuff!

2001-03-06 Thread Nick Norton
Just put the following instead of a long switch and keep your file naming conventions consistent include("side_$page.txt"); -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list adminis

Re: [PHP] Please Help!!!! - Really BASIC stuff!

2001-03-06 Thread Rick St Jean
This will allow you to have more control over what pages get edited... but you can use something a little easier like... At 09:02 PM 3/6/01 +, you wrote: >Hi Martin, > >It's important to know that "Stuff" in the Url like this are just >variables. For example : > > foo.php?fruit=apples&

Re: [PHP] Please Help!!!! - Really BASIC stuff!

2001-03-06 Thread Phil Driscoll
There are loads of different ways to spit out a text file. The easiest is readfile($Filename) which does exactly what you want, providing that the file already contains sanitised html (eg instead of newlines etc. If not, you could use fread to get the file contents into a variable and then proc

Re: [PHP] Please Help!!!! - Really BASIC stuff!

2001-03-06 Thread Philip Olson
Hi Martin, It's important to know that "Stuff" in the Url like this are just variables. For example : foo.php?fruit=apples&dog=snoopy&others=huh&more=yep Now with foo.php we can do this (a few exceptions) : echo "$dog would like to each some $fruit"; And in your case, you have $page so

Re: [PHP] Please Help!!!! - Really BASIC stuff!

2001-03-06 Thread Jason Murray
Use include(). Like http://www.jwebmedia.com/ 1 877 525 jWEB -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

Re: [PHP] Please help - File Uploads, 2nd try

2001-02-24 Thread Koncz Ádám
Sorry, wrong link was added in my prev mail. > To find a _possible_ patch visit: http://marc.theaimsgroup.com/?l=php-dev&m=98233943916254&w=2 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To cont

Re: [PHP] Please help - File Uploads, 2nd try

2001-02-24 Thread Koncz Ádám
As Ed Lazor wrote: > I upgraded my web server and now file uploads don't work. A test script is > listed below. It puts the file on the server, but the file has > Content-Type: image/pjpeg^M > ^M > pre-pended to it, thus breaking the file. Do you know why it's doing this > and how to fix it?

Re: [PHP] Please help - File Uploads, 2nd try

2001-02-24 Thread Ed Lazor
At 06:44 PM 2/24/2001 +, Gustavo Vieira Goncalves Coelho Rios wrote: >Ed Lazor wrote: > > > > I upgraded my web server and now file uploads don't work. A test script is > > listed below. It puts the file on the server, but the file has > > > > Content-Type: image/pjpeg^M > > ^M > > > > pre-p

Re: [PHP] Please help - File Uploads, 2nd try

2001-02-24 Thread Gustavo Vieira Goncalves Coelho Rios
Ed Lazor wrote: > > I upgraded my web server and now file uploads don't work. A test script is > listed below. It puts the file on the server, but the file has > > Content-Type: image/pjpeg^M > ^M > > pre-pended to it, thus breaking the file. Do you know why it's doing this > and how to fix

Re: [PHP] please help (network admin via web)

2001-02-05 Thread Christian Reiniger
On Monday 05 February 2001 08:01, niraj shah wrote: > I am a 20 year old student doing a research project and I would like to > have network administration via web. That is I want to change IP > address os the system via web, want to do dns settings and also would > like to do proxy setting via w

RE: [PHP] please help - urgent! - email & attachments

2001-01-11 Thread Jason Murray
This might help more, too: http://www.hotscripts.com/PHP/Scripts_and_Programs/Email_Systems/Email_Utili ties/ Jason -- Jason Murray [EMAIL PROTECTED] Web Design Team, Melbourne IT Fetch the comfy chair! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTE

RE: [PHP] please help - urgent! - email & attachments

2001-01-11 Thread Jason Murray
> I am after a php3 script that can do this... > > Have a form of about 20 fields where one of the fields can browse the users > hard drive so they are able to include an image, and then submit the form by > sending an email. All the other fields are just text. > > Kinda like a formail script bu

Re: [PHP] please help - urgent! - email & attachments

2001-01-11 Thread lists
Sounds like you could use a mime_mail class to build your email. The best I've found is at phpWizard and is by Sascha Schumann and Tobias Ratschiller. I have written a very basic downloader script using this class that emails tar.gz packages as attachments to a user upon request. You can try the

<    1   2