My appologies M.
looking through the output of phpinfo() on a PHP5 install i have found a
line which says
dom
DOM/XML enabled
which would allude to an ability to disable it. also, i was looking at the
XSL extension and discovered
Installation
PHP 5 includes the XSL extension by default
I can't find one.
Thanks
Stephen
str-replace?
http://us.php.net/manual/en/function.str-replace.php
-Original Message-
From: Stephen [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 21, 2007 1:17 PM
To: php-general@lists.php.net
Subject: [PHP] Is There a Function to yada /yada to [yada]
. [/yada]?
I can't find
On 6/21/07, Stephen [EMAIL PROTECTED] wrote:
I can't find one.
Thanks
Stephen
preg_replace?
http://www.php.net/preg_replace
Tijnema
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Stephen wrote:
I can't find one.
Thanks
Stephen
Ahh yes, you want the yada() function. Alternatively if you're after
something to turn yada into [yada] you could try the regex functions
(PCRE).
--
Richard Heyes
0844 801 1072
http://www.websupportsolutions.co.uk
Knowledge Base and
Vo, Lance [EMAIL PROTECTED] wrote:str-replace?
http://us.php.net/manual/en/function.str-replace.php
I am hoping for something that checks for matching open and closing markup,
and will leave and unchanged, otherwise.
And also a function to convert back.
Thanks
Stephen
On 6/21/07, Stephen [EMAIL PROTECTED] wrote:
I am hoping for something that checks for matching open and closing markup,
and will
leave and unchanged, otherwise.
You'll get much more help by posting your own (broken) attempt at
coding this than just hoping for someone to do it for you.
Hi,
RHEL 4
PHP 4.3.9
Apache 2.0.52
Without knowing much about the web application we use, can anybody tell me
what kind of situation could trigger the following 'call to undefined
function' error?
PHP Fatal error: Call to undefined function: encryptchar
code() in /data/www/html/typo3_src
Bing Du wrote:
Hi,
RHEL 4
PHP 4.3.9
Apache 2.0.52
Without knowing much about the web application we use, can anybody tell me
what kind of situation could trigger the following 'call to undefined
function' error?
PHP Fatal error: Call to undefined function: encryptchar
code() in /data/www
C.R.Vegelin escreveu:
Hi All,
I am testing some GD functions, but I'm getting undefined function errors.
I checked php.ini and changed
;extension=php_gd2.dll
to
extension=php_gd2.dll
The php.ini file contains: extension_dir = c:/php/ext
and this directory does contain php_gd2.dll (version
On Mon, 2007-06-04 at 10:16 -0300, zerof wrote:
C.R.Vegelin escreveu:
Hi All,
I am testing some GD functions, but I'm getting undefined function errors.
I checked php.ini and changed
;extension=php_gd2.dll
to
extension=php_gd2.dll
That doesn't mean you actually have the extension
On 5/25/07, tedd [EMAIL PROTECTED] wrote:
If you find
any bugs --- and I'm sure you will --- report them on the SourceForge
project page. And don't mind the cluttered code. It's also in the process
of being revamped.
Thanks.
--
Daniel P. Brown
Daniel:
Your demo:
I'm cross-posting this on the PHP-VOX and PHP General lists for those of
you who were on my old php-vox list on isawit.com and may not have been
migrated over.
The PHP-VOX project has advanced from alpha to beta status as of today's
release of version 0.6.4-18. If anyone on here wants to
I use this setup locally for testing/playing. I recently installed the
latest and greatest of the AMP collection.
Apache 2.2.4
PHP 5.2.2
MySQL 5.0.37
Apache and PHP work fine together, but I wanted to hook it up to a local
test database, so I installed MySQL.
In php.ini, i have:
; Directory
Em Segunda 07 Maio 2007 08:12, Jason Paschal escreveu:
I use this setup locally for testing/playing. I recently installed the
latest and greatest of the AMP collection.
Apache 2.2.4
PHP 5.2.2
MySQL 5.0.37
Apache and PHP work fine together, but I wanted to hook it up to a local
test
Em Segunda 07 Maio 2007 09:03, Jason Paschal escreveu:
thank you for responding.
phpinfo shows that it is finding the correct file:
Loaded Configuration File: C:\PHP\php.ini
that is the correct file with the correct settings.
i renamed it and phpinfo showed (none). i set it back to the
Em Segunda 07 Maio 2007 09:37, você escreveu:
I FOUND THE SOLUTION:
i copied libmysql.dll and php_mysql.dll to my c:\windows\ folder
suddenly my script connects. that's all it took.
thank you for taking the time to help. maybe this info can help you or
someone you know.
Sure! =]
Compare what ?php phpinfo();? says is REALLY your extension dir with
what you think is your extension dir...
On Mon, May 7, 2007 6:12 am, Jason Paschal wrote:
I use this setup locally for testing/playing. I recently installed
the
latest and greatest of the AMP collection.
Apache 2.2.4
PHP
SOLUTION FOUND!
i copied libmysql.dll and php_mysql.dll to my c:\windows\ folder
suddenly my script connects. that's all it took.
my extension directory is set to C:\PHP in php.ini, but for some reason,
placing the dlls in
the windows folder did the trick. i searched httpd.conf and php.ini
Dotan Cohen wrote:
I need to populate an array with the contents of a directory. The
following code does not populate the $thumbnailFiles array like I
expect that it would:
?php
function listFiles ($directory) {
$files=array();
$dir = dir($directory);
while ($entry = $dir-read
Brad Bonkoski wrote:
$files[] = $entry;
perhaps look into the array_push() function http://www.php.net/array_push
$files[] = $entry; is perfectly fine.
$thumbnailFiles=listFiles($thumbnailsDirectory);
printpre;
print_r($thumbnailsFiles);
print/pre;
The code is fine, spot the
On 27/02/07, Brad Bonkoski [EMAIL PROTECTED] wrote:
perhaps look into the array_push() function http://www.php.net/array_push
Thanks, but I cannot use array_push() as I don't know the name of the
array that I'll be pushing to. There are four calls to the listFiles
function, and each will
You have a typo in your code...
On 27/02/07, Jochem Maas [EMAIL PROTECTED] wrote:
Dotan Cohen wrote:
On 27/02/07, Brad Bonkoski [EMAIL PROTECTED] wrote:
perhaps look into the array_push() function http://www.php.net/array_push
Thanks, but I cannot use array_push() as I don't know the name of the
array that I'll be
A good php editor, with code completion, will help prevent this.
I like phpEdit. It even has a built-in syntax checker, which would have caught
your error immediately.
Dotan Cohen wrote:
On 27/02/07, Jochem Maas [EMAIL PROTECTED] wrote:
Dotan Cohen wrote:
On 27/02/07, Brad Bonkoski [EMAIL
On Tue, 2007-02-27 at 09:05 -0500, Al wrote:
A good php editor, with code completion, will help prevent this.
A decent brain with ample memory will suffice also. Upgrade packages not
available (yet) :)
Cheers,
Rob.
I like phpEdit. It even has a built-in syntax checker, which would have
I always wondered if anyone had a perfect brain. Us ordinary mortals require
help.
Robert Cummings wrote:
On Tue, 2007-02-27 at 09:05 -0500, Al wrote:
A good php editor, with code completion, will help prevent this.
A decent brain with ample memory will suffice also. Upgrade packages not
Or just turning on E_NOTICE, which you should do anyway.
On Tue, February 27, 2007 8:05 am, Al wrote:
A good php editor, with code completion, will help prevent this.
I like phpEdit. It even has a built-in syntax checker, which would
have caught
your error immediately.
Dotan Cohen wrote:
On 27/02/07, Al [EMAIL PROTECTED] wrote:
A good php editor, with code completion, will help prevent this.
I like phpEdit. It even has a built-in syntax checker, which would have caught
your error immediately.
As soon as the Linux version comes out I'll be sure to give it a whirl. Thanks.
On Tue, February 27, 2007 3:47 pm, Dotan Cohen wrote:
On 27/02/07, Robert Cummings [EMAIL PROTECTED] wrote:
On Tue, 2007-02-27 at 09:05 -0500, Al wrote:
A good php editor, with code completion, will help prevent this.
A decent brain with ample memory will suffice also. Upgrade packages
not
On 28/02/07, Richard Lynch [EMAIL PROTECTED] wrote:
On Tue, February 27, 2007 3:47 pm, Dotan Cohen wrote:
On 27/02/07, Robert Cummings [EMAIL PROTECTED] wrote:
On Tue, 2007-02-27 at 09:05 -0500, Al wrote:
A good php editor, with code completion, will help prevent this.
A decent brain with
Hi all,
I got a doubt about the str_replace function.
?php
$string=avenue 1, ave 1;
$words=str_replace (ave,avenue, $string);
echo $words;
?
the php code above will return me avenuenue 1, avenue 1. i expect the
result will be avenue 1, avenue 1. any idea of how can i get such result?
Thank
I think you'd better use regular expression to replace the word
Regards,
Dick
-Original Message-
From: Kencana [mailto:[EMAIL PROTECTED]
Sent: Monday, January 08, 2007 5:12 PM
To: php-general@lists.php.net
Subject: [PHP] question about str_replace function
Hi all,
I got a doubt about
)#, avenue, $string);
Regards,
Dick
-Original Message-
From: Kencana [mailto:[EMAIL PROTECTED]
Sent: Monday, January 08, 2007 5:12 PM
To: php-general@lists.php.net
Subject: [PHP] question about str_replace function
Hi all,
I got a doubt about the str_replace function
# [EMAIL PROTECTED] / 2007-01-08 11:35:06 +0100:
Dick Jiang wrote:
I think you'd better use regular expression to replace the word
agreed - only it a serious dive in the deep end of regexps - the OP may
have to use a negative lookahead assertion, something like:
$string=avenue 1, ave 1
Roman Neuhauser wrote:
# [EMAIL PROTECTED] / 2007-01-08 11:35:06 +0100:
Dick Jiang wrote:
I think you'd better use regular expression to replace the word
agreed - only it a serious dive in the deep end of regexps - the OP may
have to use a negative lookahead assertion, something like:
Hi,
I'm trying to copy a file like this:
copy(home/xxx/public_html/yyy/zzz/index.php,
home/xxx/public_html/yyy/www/index.php)
and have this error:
*Warning*: Wrong parameter count for copy() in */home/.*
Someone can help me please?
Thanks,
R B wrote:
Hi,
I'm trying to copy a file like this:
copy(home/xxx/public_html/yyy/zzz/index.php,
home/xxx/public_html/yyy/www/index.php)
^ -- your missing a slash (although that shouldn't be the problem)
and have this error:
*Warning*: Wrong parameter count for copy() in
On Fri, January 5, 2007 5:01 pm, R B wrote:
I'm trying to copy a file like this:
copy(home/xxx/public_html/yyy/zzz/index.php,
home/xxx/public_html/yyy/www/index.php)
and have this error:
*Warning*: Wrong parameter count for copy() in */home/.*
Someone can help me please?
You are
Geert T wrote:
Hi,
I have made some script that process the users input, and validates the
input and sends it back. But it doesn't work very
well, in fact it doesn't work at all. I am only able to see and input my
name and such in the html form, but the php part doesn't do it's job.
what
leave the 'action' blank to have it post to the current URL (regardless of
what it is.
Duh?
This is the new thing I learned today.
I've been messing around with _SERVER[SCRIPT_NAME] and
_SERVER[PHP_SELF] just to make sure the code is portable -- and
then you point out something I've been
Hi,
I have made some script that process the users input, and validates the input
and sends it back. But it doesn't work very
well, in fact it doesn't work at all. I am only able to see and input my name
and such in the html form, but the php part doesn't do it's job.
I have looked over the
On Monday 25 December 2006 13:35, Geert T wrote:
Hi,
I have made some script that process the users input, and validates the
input and sends it back. But it doesn't work very well, in fact it doesn't
work at all. I am only able to see and input my name and such in the html
form, but the php
On Tue, November 21, 2006 10:31 pm, Tom wrote:
Im trying to use the imagejpeg function call in a php script and
I
cant quite seem to get it working properly.
Can you clarify working properly into something a bit more concrete?
Right now, we're left guessing from the most likely scenario
Hello,
I’m trying to use the imagejpeg function call in a php script and I
can’t quite seem to get it working properly.
Here is my gd dump.
'GD Version' = 'bundled (2.0.28 compatible)' (length=27)
'FreeType Support' = true
'FreeType Linkage' = 'with freetype' (length=13
On Tue, 2006-11-21 at 23:31 -0500, Tom wrote:
?php
$image = imagecreate(200, 200);
$colorRed = imagecolorallocate($image, 255, 0, 0);
imagefill($image, 0, 0, $colorRed);
//send image
//header(Content-type: image/jpeg);
imagejpeg($image);
?
Works for me with the header line
To: Tom
Cc: php-general@lists.php.net
Subject: Re: [PHP] problem using imagejpeg function all
On Tue, 2006-11-21 at 23:31 -0500, Tom wrote:
?php
$image = imagecreate(200, 200);
$colorRed = imagecolorallocate($image, 255, 0, 0);
imagefill($image, 0, 0, $colorRed);
//send image
//header
On Tue, 2006-11-21 at 23:42 -0500, Tom wrote:
Can you show me what your gd dump looks like?
?php
var_dump(gd_info());
?
Is that way I got mine.
Also, what php version are you using? I'm using 5.1.6.
PHP 4.4.4 and PHP 5.2.0 both compiled from source.
This is my PHP 5.2.0
I have just encountered a fatal error using file_put_contents() on a PHP4 box.
After a bit of research I found a simple function within the php.net
user comments.
I just wanted to know what happens if I then tried to run this script
on a PHP 5 box, whereby I'd be defining a function that already
Dear all:
Is there a function can decrypt md5 ??
I don't have any bad ideas.
I just want to know whether md5 can be decrypted or not.
Thank you!
--
Brad
Brad Chow wrote:
Dear all:
Is there a function can decrypt md5 ??
I don't have any bad ideas.
I just want to know whether md5 can be decrypted or not.
It can't be decrypted (you can't get the original value back) but it can
have collisions in which two items will have the same md5 sum.
There is no practical way to 'decrypt' an MD5 hash. It is meant to be a
one-way encoding of data to produce a (mostly) unique ID. It does a lot better
job than some of it's predecessors like CRC32, in producing a unique ID, but
apparently it still has a very slim possibility of generating the
Hi wizards, I 'm trying to use mail function in PHP, but this function don't
send the email , I have a server with postfix. Does somebody know how to
send an email with php and postfix. Thanks in advance.
Ricardo Ríos wrote:
Hi wizards, I 'm trying to use mail function in PHP, but this function
don't
send the email , I have a server with postfix. Does somebody know how to
send an email with php and postfix. Thanks in advance.
Does your install of postfix have a sendmail wrapper
John Nichel wrote:
Ricardo Ríos wrote:
Hi wizards, I 'm trying to use mail function in PHP, but this function
don't
send the email , I have a server with postfix. Does somebody know how to
send an email with php and postfix. Thanks in advance.
Does your install of postfix have a sendmail
Ricardo Ríos wrote:
Hi wizards, I 'm trying to use mail function in PHP, but this function
don't
send the email , I have a server with postfix. Does somebody know how to
send an email with php and postfix. Thanks in advance.
Create a phpinfo page and make sure the 'sendmail_path' is set
On Tue, October 17, 2006 11:30 pm, [EMAIL PROTECTED] wrote:
results with:
dir created
error:
Warning: copy(music/index.php): failed to open stream: Permission
denied in /home/username/public_html/leaders/tod/index.php on line
27
result with:
dir created
page blank
or
page copied
I am having an issue with the copy function.
When I use the php.net specifications with the URLs being relative URLs I get a
permission error but all files and folders are set to 777. See Code 1.
If I use an ftp url it works for a few times but eventually I start copying
blank pages. See Code
Hi guys,
I am trying to use Apache, PHP 4.3, and PHP's Openssl functions to encrypt a
variable.
Currently, I can successfully use the following command to encrypt an
existing file and create a new one:
openssl aes-256-cbc -e -in plain_file.xml -out encrypt_file.xml -k
1234123412341234
Is it
While I'm inside a function call, is it possible to know what function
is currently being called?
Brent
On Fri, 2006-09-08 at 14:54 -0400, Brent Meshier wrote:
While I'm inside a function call, is it possible to know what function
is currently being called?
RTFM: http://www.php.net/manual/en/language.constants.predefined.php
Cheers,
Rob.
--
While I'm inside a function call, is it possible to know what
function is currently being called?
Yes.
http://us2.php.net/debug_backtrace
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thanx Jon and Jochem for the reminders, they were much appreciated. :)
Best Regards,
Steve
Stephen Lake [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hey Guys and Gals,
I am having a small problem with a user defined function, I placed it in a
config file and it works as
Juanjo Pascual wrote:
Hello,
I have a problem with the mail function when I send a mail with acents
or Ñ in the subject. When I receive the mail this caracters have been
replaced by X.
I'm using the mail function in this way:
mail([EMAIL PROTECTED], 'Consulta Señalítica desde la página
Hello,
Juanjo Pascual wrote:
I have a problem with the mail function when I send a mail with acents
or Ñ in the subject. When I receive the mail this caracters have been
replaced by X.
I'm using the mail function in this way:
mail([EMAIL PROTECTED], 'Consulta Señalítica desde la página
Hello,
I have a problem with the mail function when I send a mail with acents
or Ñ in the subject. When I receive the mail this caracters have been
replaced by X.
I'm using the mail function in this way:
mail([EMAIL PROTECTED], 'Consulta Señalítica desde la página web',
'strongHola, esto
On Thu, 6 Jul 2006, Juanjo Pascual wrote:
Hello,
I have a problem with the mail function when I send a mail with acents or Ñ
in the subject. When I receive the mail this caracters have been replaced by
X.
I'm using the mail function in this way:
mail([EMAIL PROTECTED], 'Consulta
you create the and? If so, why do you need to
strtolower() it?
[stripped rest of code]
For the rest of the code, the same changes as above apply.
For info the strim() function combines ltrim() and rtrim().
Why? PHP has its own function to do that. php.net/trim.
--
Rabin Vincent
http://rab.in
Hi,
Last year I switched from using FileMaker Pro to MySQL. One of FileMaker's
quirks was that if, in a text field, you searched for say, 'free ass boo',
it would find any records with those three substrings in that field (in this
example, its 'Free Association Books').
I want to have this
To anyone who can help, I would like to know why or how I can execute a
function within a function used within this class. I want to redirect if
the results of a insert query was successful, so i made a simple redirect
function for later use, once I've build onto the class. The problem is that
i
On 4/19/06, Adele Botes [EMAIL PROTECTED] wrote:
To anyone who can help, I would like to know why or how I can execute a
function within a function used within this class. I want to redirect if
the results of a insert query was successful, so i made a simple redirect
function for later use,
chris smith wrote:
On 4/19/06, Adele Botes [EMAIL PROTECTED] wrote:
To anyone who can help, I would like to know why or how I can execute a
function within a function used within this class. I want to redirect if
the results of a insert query was successful, so i made a simple redirect
Hi,
i wrote a simple testing page. it should test if it can connect to MySQL db.
however, i have an error message as followed :
*Fatal error*: Call to undefined function mysql_connect() in *F:\Mes
documents\Development\Website\Immense\checklogin.php* on line *23
*on line 23, i have the
Alain Roger wrote:
Hi,
i wrote a simple testing page. it should test if it can connect to MySQL db.
however, i have an error message as followed :
*Fatal error*: Call to undefined function mysql_connect() in *F:\Mes
documents\Development\Website\Immense\checklogin.php* on line *23
*on line
i've seen that non of extension are activated...neither mysql.dll nor
mysqli.dll
after uncommenting them and restarting Apache, it still does not work :-(
On 4/5/06, Jochem Maas [EMAIL PROTECTED] wrote:
Alain Roger wrote:
Hi,
i wrote a simple testing page. it should test if it can
Create a page like this:
?php
phpinfo();
?
and see what the output tells you about mysql...might shed some light on it.
-B
Alain Roger wrote:
i've seen that non of extension are activated...neither mysql.dll nor
mysqli.dll
after uncommenting them and restarting Apache, it still does not
nothing about MySQL...only what is in my path variable :-(
1. i stopped apache server
2. i uncomment -- extension=php_mysql.dll and extension=php_mysqli.dll in
my php.ini file
3. i updated my extension_dir like that -- extension_dir =
F:\WebServer\PHP511\ext
4. i restarted apache
5. phpinfo still
Alain Roger wrote:
nothing about MySQL...only what is in my path variable :-(
1. i stopped apache server
2. i uncomment -- extension=php_mysql.dll and extension=php_mysqli.dll in
my php.ini file
3. i updated my extension_dir like that -- extension_dir =
F:\WebServer\PHP511\ext
4. i restarted
One alternative is to try this:
http://www.en.wampserver.com
Otherwise, make sure the php.ini file you are editing is the one pointed
to by the line:
Configuration File (php.ini) Path from the phpinfo generated file
Also, you could check any Apache log files to see if they output any
thanks a lot Brad...
i was updating the php.ini from PHP installation folder and not the one that
apache was reading.
so i replace the php.ini in my C:\Windows folder and in my Phpinfo page i
have a new part regarding MySQL.
it's ok now.
thanks a lot,
Alain
On 4/5/06, Brad Bonkoski [EMAIL
Paul Goepfert wrote:
function determineDay ()
{
$return = ;
$query1 = mysql_query(SELECT months FROM Month WHERE m_id =
month(curdate()));
$query2 = mysql_query(SELECT dayNum FROM Days WHERE dayNum =
day(curdate()));
I included the or die function on the end of my query statement. When
I tested this on my web page I got the following error
Query2 Failed: You have an error in your SQL syntax near '(curdate())' at line 1
When this code executed:
$query2 = mysql_query(SELECT dayNum FROM Days WHERE dayNum =
Paul,
Try TO_DAYS(curdate()) instead - if not you can't say we didn't try! ;-)
If that doesn't work you may want to try a MySQL list.
- Joe
On 4/3/06, Paul Goepfert [EMAIL PROTECTED] wrote:
I included the or die function on the end of my query statement. When
I tested this on my web page
@lists.php.net
Subject: Re: [PHP] Re: mysql_fecth_array() and function call as parameter
Paul,
Try TO_DAYS(curdate()) instead - if not you can't say we didn't try! ;-)
If that doesn't work you may want to try a MySQL list.
- Joe
On 4/3/06, Paul Goepfert [EMAIL PROTECTED] wrote:
I included the or die
Paul Goepfert wrote:
I included the or die function on the end of my query statement. When
I tested this on my web page I got the following error
Query2 Failed: You have an error in your SQL syntax near '(curdate())' at line 1
When this code executed:
$query2 = mysql_query(SELECT dayNum
of the function and package that called this function.
Is there such a function for PHP?
Please let me know.
thanks,
sgs.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
,
such as the name of the function and package that called this function.
Is there such a function for PHP?
debug_backtrace returns an array of how the function got called (ie the
complete path that was taken from the start to get to this function).
http://www.php.net/debug_backtrace
--
Postgresql php
this is working perfectly however my client
has PHP 5, and the function is only outputting the first eshop for each
category. How can I get this working properly in PHP 5?
Below is the function in question:
function getAllCategories($mysql,$region) {
$cat_list = SELECT * FROM ilp_category_zone
Tanoor Dieng wrote:
Hi,
are there some variables in your post array(aka are you sure that
$_POST is not empty)?
Normally this should works.
Tanoor.
2006/2/24, Jason Gerfen [EMAIL PROTECTED]:
I am not sure why this is not working. Aren't $_POST vars
superglobals? I am trying to pass the
Since $_POST is a superglobal, it should not lose scope inside a
function() call. I could be wrong though.
Also, curious if $args is empty.. what is $num and $message. ?
Also.. you're calling a function in your return statement ?
On 2/24/06, Jason Gerfen [EMAIL PROTECTED] wrote:
Tanoor Dieng
Vidyut Luther wrote:
Since $_POST is a superglobal, it should not lose scope inside a
function() call. I could be wrong though.
Also, curious if $args is empty.. what is $num and $message. ?
Also.. you're calling a function in your return statement ?
On 2/24/06, Jason Gerfen [EMAIL
I am not as familiar with php as I am c++ but I wonder if you need to
pass by reference? Does this make sense in the context of php?
One other thing I would try is setting $temp = $_Post and then passing
$temp.
Chris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Christopher Taylor wrote:
I am not as familiar with php as I am c++ but I wonder if you need to
pass by reference? Does this make sense in the context of php?
One other thing I would try is setting $temp = $_Post and then passing
$temp.
Chris
Yeah, I actually tried that as well.
--
just for fun, I tried to do what you're doing.
http://www.phpcult.com/jason.phps
http://www.phpcult.com/jason.php to run it..
it seems to be working.. the problem is in your code.. but not PHP properly..
On 2/24/06, Jason Gerfen [EMAIL PROTECTED] wrote:
Christopher Taylor wrote:
I am not
hello everybody,
i am having one doubt in sending mail
in php.in my company our mail server is in windows,but
my php code for mail function in linux,i set the code
as
if(@mail('[EMAIL PROTECTED]','hi suresh','this is
test','From:[EMAIL PROTECTED]')):
both from
On Mon, 2006-02-13 at 10:05 +, suresh kumar wrote:
both from and to address are valid but mail
is not receiving to [EMAIL PROTECTED],
The PHP mail() function will use sendmail/postfix/etc (your hosts MTA),
if you plan on using a mail relay i.e. an SMTP server to send mail, you
mailing your question to this list
in php.in my company our mail server is in windows,but
my php code for mail function in linux,i set the code
as
if(@mail('[EMAIL PROTECTED]','hi suresh','this is
^
\
\ do you know what this does? try removing it.
test','From:[EMAIL PROTECTED
://www.webertrivia.com
-Original Message-
From: Paul Goepfert [mailto:[EMAIL PROTECTED]
Sent: Friday, February 10, 2006 9:49 AM
To: php-general@lists.php.net
Subject: [PHP] vaidation and mail function question
I am beginnging to do vaidation on my web form and I know of a few functions
to do
I am beginnging to do vaidation on my web form and I know of a few
functions to do this with. For example the empty fuction and the is_
functions. Ok to give you a picture of what I am vaildating its just
your basic form, Name, Address, Email. I am obviously going to check
for empty fields.
Hello everyone,
I m using php mail function it dose everyting fine besides it prints
message twise in the email body can someone please have a look
what i m doing wrong the code is as follows :
$to = $email;
$subject = someting goes here \n\n;
$headers = From: [EMAIL PROTECTED] .
X-Mailer
101 - 200 of 859 matches
Mail list logo