Thanks!
Why does preg_replace(^\W^,,$str); not remove undescores _ ? Are they
alpha-numeric?
I had to do this preg_replace(^\W|_^,,$str);
TIA,
Shawn
John W. Holmes [EMAIL PROTECTED] wrote in message
news:000201c27eab$f4ea0500$7c02a8c0;coconut...
I need to replace all NON alpha-numeric
Hi guys I'm having the following problem:
I have a mail() function that works by itself, coming from a html form, but when i
tryied to put it inside a more complex script it doesn't work.
The script is at the end of the message and it is suposed to receive data from a html
form and use it to
I don't know what Formulário de Cadastro is, but it doesn't belong as fourth
parameter.
That parameter is for From, CC, BCC headers
- Original Message -
From: Rodrigo de Oliveira [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, October 28, 2002 12:39 PM
Subject: [PHP] Mail()
Ok, thanks a lot! Thats what I thougt.
Regards Raymond
Tom Woody [EMAIL PROTECTED] wrote in message
news:20021028122633.34f2979e.woody;nfri.com...
While I am not exactly sure of everything you are asking I think I had
a similar problem...
You need to convert the \r to \n before you put it
Chris Shiflett wrote:
You can use the explode() function to separate the content part of the
response, which is what you're interested in.
Here's a similar example that only returns the content:
http://shiflett.org/tutorials/php_post.txt
Thanks, that's nearly what I need. But it seems there
Hi...
I have a little problem... when i do //localhost/ on the browser i don't get
nothing it gives me Forbidden - u don't have permission to access... but i
was the one that installed the apache server!! do u know what's the problem?
Thanks
--
PHP General Mailing List (http://www.php.net/)
To
How can I use PHP to admin my Apache over the browser?
How do big providers allow their customers to admin their
subdomains, forwarders, ftp-accounts over the webbrowser?
Apache should not run under the root account, or?!
--
Jochen Kaechelin
--
PHP General Mailing List
Hello,
I have a form, with 2 inputs ( a type file and a type text) and a
submit.
When I submit I receive an error, like this :
':\\Inetpub\\wwwroot\\test\\small2158.jpg)' at line 3
Could you tell me what can I do ?
The better solution is save the picture in the database or save the link
to
look up webmin on your favorite search engine.
Adam
On Mon, 28 Oct 2002, [ISO-8859-1] Jochen Kächelin wrote:
How can I use PHP to admin my Apache over the browser?
How do big providers allow their customers to admin their
subdomains, forwarders, ftp-accounts
Check what user apache is running under (usually nobody) in which case
you have to give it world read access (chmod 0755) or make apache run
under that user. (second method is perferred). I'm assuming you're
running linux.
-js
Mr. BuNgL3 wrote:
Hi...
I have a little problem... when i do
how do you configure apache to force all .html pages to go through the php
parser?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
AddType application/x-httpd-php .php .html
(in the httpd.conf file)
Regards,
Daniel Kushner
_
Need hosting? http://thehostingcompany.us
-Original Message-
From: John Meyer [mailto:johnmeyer_1978;yahoo.com]
Sent: Monday, October 28, 2002 4:02
Even though this should go to an apache list
Do you have an index.html (or .php or whatever you have it set to
reconize in the httpd.conf) file in the document root directory?
Mr. BuNgL3 wrote:
Hi...
I have a little problem... when i do //localhost/ on the browser i don't get
nothing it
Hi,
this php-script should read from a server (that i've written in perl) until
it receives the EOF signal.
My server sends the EOF-signal by
print $client \n\004; # \004 = EOF
to my script but fread wouldn't stop reading
and i don't have any ideas why.
Is php using an other sign for EOF?
Any anyone tell me about this? I know it is about browser detection
software or something.
What I want to know is is it good for general use? Can it be used on UNIX
server for PHP to interface with? Does it require a lot of update or
something? I saw on that website that describe about
check your permissions on htdocs etc and also that u haven't blocked ya self
outta there in the httpd.conf
-Original Message-
From: John Nichel [mailto:jnichel;by-tor.com]
Sent: Tuesday, 29 October 2002 8:09 AM
To: Mr. BuNgL3
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] newbie: apache
instead of using break use exit() where u have ur breaks and will work fine
-Original Message-
From: Marek Kilimajer [mailto:kilimajer;webglobe.sk]
Sent: Tuesday, 29 October 2002 1:30 AM
To: PHP
Subject: Re: [PHP] New Error?
Break an continue are for loops (while,for ...), if
Since PWS uses Inetpub, I'm guessing you're using PWS and I would recomend
against using it. I use PHPdev 5 which works like a charm. I'd recomend
switching.
http://www.firepages.com.au/devindex.htm
Thanks,
Stephen
http://www.melchior.us
- Original Message -
From: Raymond Lilleodegard
This doesn't seem to work for anything past the first key:
echo array_search(0,$myarray);
will print 'a';
None of these give me anything:
echo array_search(1,$myarray);
echo array_search(1,$myarray);
echo array_search(1,$myarray,true);
echo array_search(1,$myarray,true);
so how do I get 'd'?
When i post a string containing plus sign with htmp form to a php scritp,
the '+' is changed to space.
e.g: i enter 'as+df' to a text input but $_POST[] returns 'as df' instead.
It must be in php or apache configuration bcause i have this problem only on
sytem with FreeBSD. On windows it works as
Why does preg_replace(^\W^,,$str); not remove undescores _ ? Are they
alpha-numeric?
I had to do this preg_replace(^\W|_^,,$str);
TIA,
Shawn
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
i've just used str_replace for underscores and it's worked wonderfully.
-Original Message-
From: Shawn McKenzie [mailto:nospam;mckenzies.net]
Sent: Monday, October 28, 2002 4:46 PM
To: [EMAIL PROTECTED]
Subject: [PHP] preg_replace (underscore)
Why does preg_replace(^\W^,,$str); not
I did your little test and couldn't reproduce the problems you are
having. as+df gets returned correctly.
Test server: Apache 1.3.23-11 w/ PHP 4.1.2-7 (RH7.3 rpms)
On Tue, 29 Oct 2002 00:26:39 +0100
Stan [EMAIL PROTECTED] wrote:
When i post a string containing plus sign with htmp form to a php
I'm using some regexes for swear filtering, but I have a problem. I
need to look for ab[ct] and have it replaced by xyz but not replace the
[ct]. I.e. it would be replaced by xyzc or xyzt. Any ideas?
--
The above message is encrypted with double rot13 encoding. Any unauthorized attempt to
Have you used a SQL-Statement like:
INSERT INTO `tablename` VALUES ('',LOAD_FILE('$file')
to insert it with load_file? I used it without problems that way.
Christian Ista wrote:
Hello,
I have a form, with 2 inputs ( a type file and a type text) and a
submit.
When I submit I receive an
anyone can download for testing php-4.3.0-pre2 from:
http://chat.italma.ru/php/
(compiled with vc++.net)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Please do NOT use non-offical binaries for testing!
Windows binaries will be posted soon.
Derick
On Mon, 28 Oct 2002 [EMAIL PROTECTED] wrote:
anyone can download for testing php-4.3.0-pre2 from:
http://chat.italma.ru/php/
(compiled with vc++.net)
--
PHP Development Mailing List
Could you tell something about compiling php under vc++.net?
I tried this but wasn't able to (but did not tried it hard).
regards
marcus
At 16:13 28.10.2002, [EMAIL PROTECTED] wrote:
anyone can download for testing php-4.3.0-pre2 from:
http://chat.italma.ru/php/
(compiled with vc++.net)
--
The plus sign is used to signify a space in some URL encoding. PHP is
probably thinking the text is encoded and it's removing the plus sign.
Not sure on a solution.
---John Holmes...
-Original Message-
From: Stan [mailto:stann;pobox.sk]
Sent: Monday, October 28, 2002 6:27 PM
To:
I'm using some regexes for swear filtering, but I have a problem. I
need to look for ab[ct] and have it replaced by xyz but not replace
the
[ct]. I.e. it would be replaced by xyzc or xyzt. Any ideas?
$new_string = preg_replace(/ab([ct])/,xyz\\0,$old_string);
or
$new_string =
Hi,
I am getting this error randomly, just stops and starts.
Error: Unable to select database: crm :Commands out of sync; You can't
run this command now
'./configure' '--with-oracle=/opt/oracle/product/8.1.6/'
'--with-oci8=/opt/oracle/product/8.1.6/' '--enable-sigchild'
'--enable-track-vars'
Hi guys,
I wonder if anyone of you know about any PHP system (free or Open Source, etc.) that
can offer the features (or similar ones) one can enjoy from Microsoft SharePoint
Technologies.
tanks in advance,
Rub.
yeah
phpnuke, phpnuke.org
postnuke, postnuke.com
phpwebsite, phpwebsite.appstate.edu
there's probably a few more out there too
-Original Message-
From: PHP Beginner [mailto:bphpdev;icem.cu]
Sent: Tuesday, 29 October 2002 11:14 AM
To: php - List
Subject: [PHP] looking for Powerfull
Hey everyone,
For years I have used a fantastic merchant ( http://www.ihtmlmerchant.com
), which is feature packed and easy to setup and use. It's written in a
competing language called iHTML ( http://www.ihtml.com ).
As I am getting considerably proficient at coding PHP, I find that I
Why must you use ereg_replace?
Does your question mean that you, for whatever reason, cannot use
strtoupper() instead?
Leif K-Brooks wrote:
I need a way to make a string be replaced with its uppercase version
using ereg_replace. Any ideas?
--
PHP General Mailing List (http://www.php.net/)
I don't want the entire string upercase, just part of it as defined by a
regex.
Chris Shiflett wrote:
Why must you use ereg_replace?
Does your question mean that you, for whatever reason, cannot use
strtoupper() instead?
Leif K-Brooks wrote:
I need a way to make a string be replaced with
oscommerce http://oscommerce.com/
supports mysql as the database. i've set it up a few times, never
implemented it into production, but its fairly easy to use, and from what
i've seen extremly customizable.
Jason Reid
[EMAIL PROTECTED]
--
AC Host Canada
www.achost.ca
- Original Message -
Agreed. Case in point, when I attach more 9 email addresses to one email
message via Netzero's servers (1 of 7 different email accounts I have), the
delivery fails with a message that reads something like: ' Blah Blah Blah.
Too many recipients. Blah Blah Blah.'
I could be mistaken about
The optional second parameter for date() is a timestamp.
So, you convert whatever date you have (eg 29.10.2002) into a unix timestamp
(probably using strtotime() or maybe you'll have to rearrange the string
first), then supply it to the date() function.
Justin
on 29/10/02 1:57 AM, Davíð Örn
In my never-ending battle against swearing on my site, I'm trying to use
a regex that changes any word that ends with abc to xyz. I'm using:
$tofilter = This is a string containing the word 123abc.;
$tofilter= eregi_replace([^ ]abc,xyz,$tofilter);
But it returns 12xyz. It clearly picks up
I have written followong code in hello.html:
HTML
HEAD
/HEAD
BODY
FORM ACTION=hello.php METHOD=POST
Benter your name:/B
INPUT TYPE=TEXTAREA NAME=textbox
INPUT TYPE=SUBMIT
/FORM
/BODY
/HTML
and following in hello.php:
HTML
HEAD
/HEAD
BODY
?php
printf(BRhello %s!,$textbox);
?
/BODY
/HTML
This
i might be crazy, but why don't the many CMS, forum, link directory,
etc packages integrate with a unified user manager?
is this possible? is there perhaps an xml standard for contact
datatypes that could be used?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Hello,
Mukta Telang [EMAIL PROTECTED] wrote:
[snip]
I tried using echo($_GET['$textbox']) instead of printf statement in
hello.php..
[/snip]
Try $_POST['textbox'] instead. (You were using method=post.)
- E
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Hello,
Leif K-Brooks [EMAIL PROTECTED] wrote:
[snip]
But that doesn't work at all. Any ideas on how to do this?
[/snip]
Would't it be easier (and faster) to use
http://www.php.net/manual/en/function.str-replace.php ?
- E
--
PHP General Mailing List (http://www.php.net/)
To
XML, by definition is an eXtensible Markup Language. That means the
markup associated with a document can be whatever that person wants it
to be. I think a better question to ask is if there are any projects
out there who are working toward a standard XML document type for
contact information,
I need to do a few other things that require regex though, like making
either an a or an @ match (people love to get around filters by using
symbols instead of letters...).
@ Edwin wrote:
Hello,
Leif K-Brooks [EMAIL PROTECTED] wrote:
[snip]
But that doesn't work at all. Any ideas on how
On 29 Oct 2002 at 0:14, taylor wrote:
i might be crazy, but why don't the many CMS, forum, link directory, etc
packages integrate with a unified user manager? is this possible? is
there perhaps an xml standard for contact datatypes that could be used?
I'm not sure I understand you but I
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-general Digest 29 Oct 2002 05:55:20 - Issue 1672
Topics (messages 121753 through 121818):
4.3.0pre2 Mcrypt Compile failure
121753 by: Mitch Vincent
ereg_replace???
121754 by: Shawn McKenzie
121756 by: John W. Holmes
121764 by: Shawn McKenzie
Re: Free
101 - 149 of 149 matches
Mail list logo