On Sat, Aug 27, 2011 at 15:45, Eli Orr eli@logodial.com wrote:
The advised email to unsubscribe does not work:
php-general-unsubscr...@lists.php.net
It should work just fine, but I had checked and I don't even see
any subscribers to the General mailing list with 'logodial' anywhere
in
Hi there
Since glob is actually a part of the core - Are you absolutely sure
that you're running PHP 4.3
2011/4/5 Al Mangkok almang...@gmail.com:
Hi everyone,
I am very new to PHP and trying to learn the glob() function. I copied
the example on php.net :
?php
foreach (glob(*.txt) as
Hi Louis,
Yes, I have read that glob is only available for PHP 4.3 and I am
using version 5.2.1.7
# /usr/local/bin/php -v
PHP 5.2.17 (cli) (built: Feb 16 2011 15:41:35)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies
with Zend Optimizer
Yesterday I yum installed these:
glibc-common.i386 2.3.4-2.54
glibc.i686 2.3.4-2.54
glibc-headers.i386 2.3.4-2.54
glibc-devel.i386 2.3.4-2.54
And about ten minutes ago I recompiled PHP with identical configure
options as before. And this time the glob function is inside PHP.
Phew.
Hopefully
Message -
From: Jim Lucas li...@cmsws.com
To: Red r...@you.sk
Cc: php-general@lists.php.net
Sent: Friday, October 30, 2009 12:33 AM
Subject: Re: [PHP] please help with regular expression in preg_replace
Red wrote:
hello, im not a php developer, i just need to rewrite one php file
Hi Rene,
This looks suspiciously like regex's greedy behaviour - it will
gobble up everything that matches until you tell it otherwise.
For example, your regex is matching any character that isn't a dot,
followed by a dot.
In host.domain.com, both host. and domain. match this regex - and
Red wrote:
hello, im not a php developer, i just need to rewrite one php file but having
problem with understanding syntax of regexp in php.
i need to get domain name from fqdn (for example from $_SERVER['HTTP_HOST'] )
in sed its working well with s/[^.]*\.// , but preg_replace behaves
Date: Fri, 10 Apr 2009 08:33:10 +0530
From: usang...@gmail.com
To: php-general@lists.php.net
Subject: [PHP] Please Help Me ASAP
Hello,
I'm building my own website without any knowledge of PHP, i'm almost done
with that..as my website works fine on my local server
i:e WAMPSERVER
kunal sharma wrote:
Hello,
I'm building my own website without any knowledge of PHP, i'm almost done
with that..as my website works fine on my local server
i:e WAMPSERVER 2.0,
but the same code is not working on server...n i'm rilli 'd of coz of
that...
The error is :PHP Parse error:
whenever you want to print HTMLs in your code you don't need to call echo or
print everytime.
You can use plain HTML in your php code this way.
?php
//php code
?
your HTML code
?php
//php code
?
your HTML code
or you can use HEREDOC to print long string ( http://in.php.net/types.string)
-
Jason Pruim
On Apr 9, 2009, at 11:03 PM, kunal sharma usang...@gmail.com wrote:
Hello,
I'm building my own website without any knowledge of PHP, i'm
almost done
with that..as my website works fine on my local server
i:e WAMPSERVER 2.0,
but the same code is not working on server...n i'm
mike wrote:
On Tue, Feb 17, 2009 at 4:26 PM, mike mike...@gmail.com wrote:
i tried that kind of stuff - it did not seem to work.
i will try again... if anyone has any ideas i.e. use iconv to convert
to A, then use DOM stuff, then use iconv to move it back to UTF8...
etc. i am all ears.
On Tue, Feb 17, 2009 at 12:40 PM, mike mike...@gmail.com wrote:
Pardon the messy code, but I got this working like a charm. Then I
went to try it on some Russian content and it broke. The inbound was
utf-8 encoded Russian characters, output was something else
unintelligible.
I found a PHP
i tried that kind of stuff - it did not seem to work.
i will try again... if anyone has any ideas i.e. use iconv to convert
to A, then use DOM stuff, then use iconv to move it back to UTF8...
etc. i am all ears.
On Tue, Feb 17, 2009 at 12:46 PM, Nathan Nobbe quickshif...@gmail.com wrote:
On
On Tue, Feb 17, 2009 at 4:26 PM, mike mike...@gmail.com wrote:
i tried that kind of stuff - it did not seem to work.
i will try again... if anyone has any ideas i.e. use iconv to convert
to A, then use DOM stuff, then use iconv to move it back to UTF8...
etc. i am all ears.
Nope - for
Scott Bounds wrote:
Hello all. I seem to be having a terrible tim ewith something that is
so simple it makes me sick. I have a server running FC2. it has
Apache 2.x.x on it and it came installed with php-4.x.x. Sorry I
don't have the exact versions but fatigue and frustration has taken
Scott Bounds wrote:
Hello all. I seem to be having a terrible tim ewith something that is so
simple it makes me sick. I have a server running FC2. it has Apache
2.x.x on it and it came installed with php-4.x.x. Sorry I don't have
the exact versions but fatigue and frustration has taken
At 11:39 AM 1/11/2007, Scott Bounds wrote:
Hello all. I seem to be having a terrible tim ewith something that is so
simple it makes me sick. I have a server running FC2. it has Apache
2.x.x on it and it came installed with php-4.x.x. Sorry I don't have the
exact versions but fatigue and
Jochem Maas wrote:
Scott Bounds wrote:
Hello all. I seem to be having a terrible tim ewith something that is so
simple it makes me sick. I have a server running FC2. it has Apache
2.x.x on it and it came installed with php-4.x.x. Sorry I don't have
the exact versions but fatigue and
Why not check php.ini to see whether display_errors is set to off and switch
it on until you are back in business? Check the httpd.conf file to make sure
Apache is parsing .php files correctly.
Well, actually I don't see anything. Nothing at all (in the case of the
phpinfo() page. All the page has in it is just ?php phpinfo() ?.
It was saved as test.php. How can I tell if something is broken and
where do I look for the files? I haven't done any dorking around with
the links, etc.
Scott Bounds wrote:
Jochem Maas wrote:
Scott Bounds wrote:
Hello all. I seem to be having a terrible tim ewith something that is so
simple it makes me sick. I have a server running FC2. it has Apache
2.x.x on it and it came installed with php-4.x.x. Sorry I don't have
the exact versions
David Giragosian wrote:
Well, actually I don't see anything. Nothing at all (in the case of the
phpinfo() page. All the page has in it is just ?php phpinfo() ?.
It was saved as test.php. How can I tell if something is broken and
where do I look for the files? I haven't done any dorking
Dave Goodchild wrote:
Why not check php.ini to see whether display_errors is set to off and
switch
it on until you are back in business? Check the httpd.conf file to make
sure
Apache is parsing .php files correctly.
hi Dave. let me check in the ini file and see. I'll reply as soon as I
...
-Original Message-
From: Scott Bounds [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 11, 2007 8:30 AM
To: php-general@lists.php.net
Subject: Re: [PHP] Please Help with simple Noob problem
David Giragosian wrote:
Well, actually I don't see anything. Nothing at all (in the case
Please keep it on-list.
Scott Bounds wrote:
by the way, I did view source and it seemed to recognize the opening
php tag (?php) but didn't recognize the closing tag (?). I am
assuming that in that evidently FC2 likes to color code the tags (php
is with purple) and it had the opening tag
served...
-Original Message-
From: Scott Bounds [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 11, 2007 8:30 AM
To: php-general@lists.php.net
Subject: Re: [PHP] Please Help with simple Noob problem
David Giragosian wrote:
Well, actually I don't see anything. Nothing at all
to include #!/usr/bin/php as the
1st line...
-Original Message-
From: Scott Bounds [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 11, 2007 8:50 AM
To: php-general@lists.php.net
Subject: Re: [PHP] Please Help with simple Noob problem
bruce wrote:
hi scott.
tell us, have you been able
-Original Message-
From: Scott Bounds [mailto:[EMAIL PROTECTED]
Sent: 11 January 2007 06:21
To: php-general@lists.php.net
Subject: Re: [PHP] Please Help with simple Noob problem
Jochem Maas wrote:
Scott Bounds wrote:
Hello all. I seem to be having a terrible tim ewith something
Use ?php phpinfo()? instead of ?phpinfo()?, or try to add some space
after the ? .
The php usually comes with the short_tags directive turned off.
Good Luck
Scott Bounds wrote:
Hello all. I seem to be having a terrible tim ewith something that is
so simple it makes me sick. I have a server
Arno, you nailed it right on the head. You and someone else told me
that. I am glad that you did because that is exactly what the problem
was. Thanks for being patient and understanding.
Scott
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Bruce, thanks fro your help but I found out what stupid noob thing I was
doing. I had been doing the File/Open File/test.php Janet had gotten
to me and do http://localhost/test.php. Big world of difference.
trying to learn why but that made all the difference. Worked great
then. Thanks
-Original Message-
From: Scott Bounds [mailto:[EMAIL PROTECTED]
Sent: 11 January 2007 07:16
To: php-general@lists.php.net
Subject: Re: [PHP] Please Help with simple Noob problem
Arno, you nailed it right on the head. You and someone else told me
that. I am glad that you did because
--
My Seeding Blog | http://bytes.nullp0inter.com
Hire me as Freelancer | http://www.getafreelancer.com/affiliates/shockx/
-Original Message-
From: Anju Prasad [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 02, 2007 5:13 PM
To: php-general@lists.php.net
Subject: [PHP] Please
I am doing that but still not getting any fruitful results.
On 1/2/07, zoticaic [EMAIL PROTECTED] wrote:
--
My Seeding Blog | http://bytes.nullp0inter.com
Hire me as Freelancer | http://www.getafreelancer.com/affiliates/shockx/
-Original Message-
From: Anju Prasad [mailto:[EMAIL
Anju Prasad wrote:
I am doing that but still not getting any fruitful results.
Show us exactly what you're doing. If your mail client is not displaying
the email as HTML one of two things is happening. 1) You're not telling
it it's an HTML email, or 2) your mail client is ignoring the
emails.
--
Outsource Now | GetAFreelancer
http://www.getafreelancer.com/affiliates/shockx/
_
From: Anju Prasad [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 02, 2007 5:26 PM
To: zoticaic
Cc: php-general@lists.php.net
Subject: Re: [PHP] Please help me
I am doing that but still
actually this problem i am getting only when sending mail in gmail,
otherwise everywhere its coming correctly and fine
On 1/2/07, Anju Prasad [EMAIL PROTECTED] wrote:
Headers i am using:
$headers = MIME-Version: 1.0*\r\n*
Content-type:
Please don't reply to me directly. Always include the list in replies.
Anju Prasad wrote:
Headers i am using:
$headers = MIME-Version: 1.0*\r\n*
Content-type: text/html;charset=iso-8859-1*\r\n*Content-Transfer-Encoding: 8bit
*\r\n\r\n*From:$sitename*\r\n*return-path:
$from;
Message body:
my problem got solved in gmail, but now i am not getting mails any where
else...
headers now i am using is:
$headers = 'MIME-Version: 1.0'.*\n*.'Content-type:
text/html;charset=iso-8859-1'.*\n*.'Content-Transfer-Encoding:
8bit'.*\n*.'From:'.$sitename.*\n*.'return-path:'.$from;
On 1/2/07, Stut
use and/or study this nice bit of code (well I like it anyway, Manuel Lemos
probably
diagrees :-)
http://phpmailer.sourceforge.net/
Anju Prasad wrote:
my problem got solved in gmail, but now i am not getting mails any where
else...
headers now i am using is:
$headers =
# [EMAIL PROTECTED] / 2007-01-02 15:35:26 +0530:
my problem got solved in gmail, but now i am not getting mails any where
else...
headers now i am using is:
$headers = 'MIME-Version: 1.0'.*\n*.'Content-type:
text/html;charset=iso-8859-1'.*\n*.'Content-Transfer-Encoding:
When I send a mail using php using mail(), and using html tags in
message
body , these tags are being displayed as it is.
Please let me know if there's any way of how to tackle with this.
I use phpmailer for all my email sending ...
Never had a problem with it
S
--
PHP General Mailing
: Steven Macintyre [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 02, 2007 2:44 PM
To: php-general@lists.php.net
Subject: RE: [PHP] Please help me
When I send a mail using php using mail(), and using html tags in
message
body , these tags are being displayed as it is.
Please let me know
Chris G wrote:
Hi all
I have been stuck on this problem for 4 hours. Please anyone that can help
here I would appreciate it.
If I print_r($_GET) I have
Array ([question] = Array ( [10] = 1 [11] = 2 [12] = 1 [13] = 1)'
So now I try
foreach($_GET['question'] as $key) {
Chris G wrote:
I have already tried using
foreach($_GET['question'] as $key = $value)
the in_array function does not work with it for some reason.
'does not work with it' ??
use var_dump(); to see what's actually in your variables.
On 8/5/06, *Jochem Maas* [EMAIL PROTECTED]
if you want to ask a question don't be so lazy as to
simply reply to a post in an existing thread - it's considered
rude.
send a new email.
Jesús Alain Rodríguez Santos wrote:
...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Your query is wrong. You are selecting only one result yet you are
referencing three. I suggest...
SELECT * FROM centers ORDER BY idc asc
Jef
-Original Message-
From: Jesús Alain Rodríguez Santos [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 13, 2006 8:49 AM
To:
If you want to preserve the blank spaces then try;
str_replace( , nbsp;, $contents); // nbsp; is html for blank space.
HTH
HTD
- Original Message -
From: [EMAIL PROTECTED]
To: php-general@lists.php.net
Sent: Wednesday, February 15, 2006 10:26 PM
Subject: [PHP] please help me I try to
Hugh Danaher wrote:
If you want to preserve the blank spaces then try;
str_replace( , nbsp;, $contents); // nbsp; is html for blank space.
HTH
HTD
no he don't:
qote:
read text file to array string
--
Smileys rule (cX.x)C --o(^_^o)
Dance for me! ^(^_^)o (o^_^)o o(^_^)^ o(^_^o)
--
PHP
suggested he substitute nbsp; for the blank spaces. He also said I want
fixed possition . please help me ?, and so I tried to help.
Regards,
HTD
- Original Message -
From: Barry [EMAIL PROTECTED]
To: php-general@lists.php.net
Sent: Thursday, February 16, 2006 12:37 AM
Subject: Re: [PHP
On 2/16/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
$filename =3D c:data.txt;
$contents =3D file($filename);
echo $contents;
?
// data in text file is 1_2_3_4 _ =3D blank
// output is 1 2 3 4
// I want fixed possition . please help me ?
I'm not really sure what you're
Hi,
Thanks, putting the addtype in the directory section seems to have solved
the problem.
- Original Message -
From: Dan Trainor [EMAIL PROTECTED]
To: PHP [EMAIL PROTECTED]
Sent: Friday, January 27, 2006 6:09 PM
Subject: Re: [PHP] Please help with apache 2
PHP wrote:
Help, I
On Fri, Jan 27, 2006 at 06:03:50PM -0800, PHP wrote:
Help, I can't find anything on this.
I upgraded from apache 1.3 to apache 2.2
My problem is, I currently have .htm files being parsed as php, that works
fine.
However, if I have the php_engine turned off for a directory, any .htm
On 1/25/06, S Yang [EMAIL PROTECTED] wrote:
Dear Sir/Madam:
I am trying to split a DSA signature that is generated by openssl_sign()
function in PHP, which should be made up of 2 numbers: r and s, but I don't
know how to build the structure of the signature generated by PHP and then
to split
Wednesday, January 25, 2006, 2:52:21 PM, S Yang wrote:
Which method might I use to split the signature I have built in PHP into
(r,s)? How can I know what the signature looks like?
Run the function http://us2.php.net/openssl_sign and pass it a $signature.
According to the manual, if
Hello Giuseppe,
Thursday, April 28, 2005, 2:22:20 PM, you wrote:
CG Hello, can you please help me send an html email using php instead of
CG just simple text output. I'm trying to have the user fill out a form (
CG https://www.smilerochester.com/medical_form.html ) and have the exact
CG same
Carraccia, Giuseppe wrote:
Hello, can you please help me send an html email using php instead of
just simple text output. I'm trying to have the user fill out a form (
https://www.smilerochester.com/medical_form.html ) and have the exact
same form emailed to me with the same pretty format of a
Your Apache/PHP Mail function is working properly. The SMTP server needs
to be configured to relay email from the PHP server.
The normal configuration would be to allow the relay of all mail from
that server.
Chris
kunal Aggarwal wrote:
Dear friend,
I am using PHP 4.3.4 version.
Please tell
On Thu, 21 Oct 2004 16:41:28 -0500, Scott McDonald
[EMAIL PROTECTED] wrote:
Error:
Fatal error: Call to undefined function mysql_connect() in
d:\inetpub\www\test.php on line 5
I am at a loss... any ideas?
Did you uncomment the mysql entension in your php.ini ?
--
Greg Donald
Zend
[snip]
I'm having a problem with a set_ini command... I need to be able to
set
the -f parameter (to set the originating address on my server). I am
getting
a false response code when I run the following command:
[/snip]
looks like sendmail_path has to be set in http.conf or php.ini
Warren Gardner wrote:
Hi,
I'm having a problem with a set_ini command... I need to be able to set
the -f parameter (to set the originating address on my server). I am getting
a false response code when I run the following command:
$Result=ini_get(sendmail_path),
/usr/sbin/sendmail -t
On 11 February 2004 20:26, Richard Day wrote:
Hello:
Environment:
Linux server
PHP 4.3.4
This code:
echo 'br'.strftime('%T %Z',mktime()).', Timestamp='.mktime();
echo 'br'.strftime('%T GMT',gmmktime()).',
Timestamp='.gmmktime();
yields this result:
Hello
This is a PHP list not an activex list.
Radwan Aladdin wrote:
Hi all..
I have in my database the fields :CourseTitle, Language1, Language2, Language3, Language4, Language5, Language6...Etc..
Now what I want to make is : By using an ActiveX Control I want to retrive the values for these
I've never done it but I can only imagine you'd need to run some sort of CRON job to
effect this at regular intervals.
HTH,
Michael Egan
-Original Message-
From: Radwan Aladdin [mailto:[EMAIL PROTECTED]
Sent: 20 January 2004 09:45
To: [EMAIL PROTECTED]
Subject: [PHP] Please help
Where can I fin tutorials about it? (CRON Tab)?
Regards..
- Original Message -
From: Nick JORDAN [EMAIL PROTECTED]
To: Radwan Aladdin raladin [EMAIL PROTECTED]
Sent: Tuesday, January 20, 2004 1:56 PM
Subject: Re: [PHP] Please help me as fast as possible.. very important
http://www.google.com/linux?hl=enlr=ie=ISO-8859-1q=cron+tutorialsbtnG=Google+Search
-Original Message-
From: Radwan Aladdin [mailto:[EMAIL PROTECTED]
Sent: 20 January 2004 10:05
To: Nick JORDAN
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Please help me as fast as possible.. very
Aladdin [EMAIL PROTECTED]
To: Nick JORDAN [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, January 20, 2004 12:05 PM
Subject: Re: [PHP] Please help me as fast as possible.. very important!!
Where can I fin tutorials about it? (CRON Tab)?
Regards..
- Original Message -
From: Nick
Im not sure about php but if you are desperate then you could also do it in
VB with a timer control.
-Original Message-
From: Radwan Aladdin [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 20, 2004 11:45 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Please help me as fast as possible.. very
JORDAN
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Please help me as fast as possible.. very important!!
Where can I fin tutorials about it? (CRON Tab)?
Regards..
- Original Message -
From: Nick JORDAN [EMAIL PROTECTED]
To: Radwan Aladdin raladin [EMAIL PROTECTED]
Sent: Tuesday, January 20, 2004
Radwan Aladdin wrote:
Hi all
Is it possible in mySQL to put a timer that changes a value inside a row in a table every while?
For example : Add 1 to the value very 10 minutes for example.. Field number = 5 after ten minutes = 6 after another 10 minuste = 7..Etc..
Is it possible?And how?
Hello,
Friday, January 16, 2004, 11:54:26 AM, you wrote:
SISAD I'm a beginner in PHP.. And I'm working on a project..
SISAD I want your help please to learn how to :
SISAD 1- MD5 with PHP values.
$md5 = md5($variable);
SISAD 2- Random values in PHP.
$min = 1;
$max = 100;
$random =
SASSINC Internet Solutions - Arabic Department wrote:
How to retrieve data from a PHP file?
(The value that will be retrieved of course
it is echoed in the PHP file, and it will be
shown in a TextBox in my VB program.. so I want
to retrieve it to my EXE VB program that will
put it inside a
You problem is probably right here:
session.gc_maxlifetime = 1800
That sets the garbage collection timeout to 30 minutes...
Per the manual:
session.gc_maxlifetime specifies the number of seconds after which data
will be seen as 'garbage' and cleaned up.
It is not strictly followed, but PHP
umm... ok.
www.google.com
www.php.net
that should get you started.
Sathiyabama wrote:
Dear PHP Team,
I request your help to sort some issues in using PHP.
1.Chennai IIT has developed one recorder.We can record our voice and
video.Its user defined extenion is MV4.
My requirement is
1.I
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
-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 started.
Sathiyabama wrote:
Dear PHP Team,
I
John Manko mailto:[EMAIL PROTECTED]
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
[snip]
John Manko mailto:[EMAIL PROTECTED]
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
Jay Blanchard mailto:[EMAIL PROTECTED]
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:
[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 list
Jay Blanchard mailto:[EMAIL PROTECTED]
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 their
[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]
Jay Blanchard mailto:[EMAIL PROTECTED]
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, visit:
[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:
You're not giving us much to work with here. What's the actual problem?
Regardless, I can see a couple of thing wrong here.
1. You're trying to do a multipart/form-data transfer using GET. You need
to use POST.
2. Unless you've got register_globals on, and even if you do, you should be
* 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.
Thx a
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
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 from
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
- 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 html
head
title$sitename -- Login --- Error/title
/head
body
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 -
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:
HTML
BODY
?php
$register_globals;
It sounds like
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?
Thanks,
-Ryan
Maybe you should tell us what you really want to do?
might take you tomorrow.
-Original Message-
From: Ryan A [mailto:[EMAIL PROTECTED]
Sent: Saturday, June 07, 2003 9:06 PM
To: Boaz Yahav
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] please help, simple problem (i think)
Hi,
Basically I am offering some packages and I want to say
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 die(mysql_error());
While($row = mysql_fetch_object($result)) {
Echo$row
]
Subject: Re: [PHP] please help, simple problem (i think)
Hi,
I dont have packageName therejust id,type
Plus i need to do this in 2 placesso if i could assign each counts
result to a variable...it would be reay easy.
Cheers,
-Ryan
- Original Message -
From: Boaz Yahav [EMAIL
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 assign
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
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), then branch to different
1 - 100 of 177 matches
Mail list logo