PEAR without having to install it.
--
Regards,
Ben Ramsey
http://benramsey.com
http://www.phpcommunity.org/wiki/People/BenRamsey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I know that others have already helped you learn out to print out an
array, but you can also use print_r($array); to print out the array.
It's not useful for the end-user of your application, but it can help
you out as you're programming.
--
Regards,
Ben Ramsey
http://benramsey.com
http
things on the server-side is always best and more secure;
end-users are less likely to be able to screw things up.
--
Regards,
Ben Ramsey
http://benramsey.com
http://www.phpcommunity.org/wiki/People/BenRamsey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
Anokre wrote:
Is there a way with php to force the user to put only numeric character in a text field ?
thanks
--
Regards,
Ben Ramsey
http://benramsey.com
http://www.phpcommunity.org/wiki/People/BenRamsey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
(/^(.*)\@(.*)$/, $email, $matches)) {
// $matches[0] contains the original $email
$user = $matches[1];
$domain = $matches[2];
}
echo $user . br / . $domain;
Check out the manual for more info on preg_match():
http://www.php.net/manual/en/function.preg-match.php
--
Regards,
Ben Ramsey
http
haven't already done so. If the values aren't
showing up in the variable, then you definitely need to include the
curly braces. If they are showing up, then perhaps MySQL needs the
single quotation marks.
--
Regards,
Ben Ramsey
http://benramsey.com
http://www.phpcommunity.org/wiki/People
Take a look here, you may find this documentation useful:
http://www.php.net/manual/en/language.variables.predefined.php
Shaun wrote:
Hi,
How can i obtain the URL of the current page including any $_GET variables?
Thanks for your help
--
Regards,
Ben Ramsey
http://benramsey.com
http
thanx yes i was echoing them and it worked!!
Angelo
Please remember to include the list on messages. Does this mean that
your code now works? Or it still doesn't work but the values are being
properly echoed?
--
Regards,
Ben Ramsey
http://benramsey.com
http://www.phpcommunity.org/wiki
/buildingbymatt/public_html/clients/security.php on line 4
--
Regards,
Ben Ramsey
http://benramsey.com
http://www.phpcommunity.org/wiki/People/BenRamsey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
. If I use it in this way, there would be files
in my application that would need to include it using ..
:)
--
Regards,
Ben Ramsey
http://benramsey.com
http://www.phpcommunity.org/wiki/People/BenRamsey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
I am trying to find the position of the first occurrence on new line in
a string that comes from a database. I tried
$pos = strpos( $list_text, /n );
But it never returns anything. Any help would be much appreciated.
Ben
--
Ben EdwardsTel +44 (0)1179 553 551 ICQ 42000477
using PHP5 Beta 4 I saw some new classes like DirectoryIterator with nice
methods like:
Where did you see these classes? Is it a PEAR package? I haven't seen
these in the PHP manual.
--
Regards,
Ben Ramsey
http://benramsey.com
http://www.phpcommunity.org/wiki/People/BenRamsey
--
PHP General
That's some pretty helpful information there. I didn't know about that.
Thanks!
-Ben
Vivian Steller wrote:
Ben Ramsey wrote:
using PHP5 Beta 4 I saw some new classes like DirectoryIterator with nice
methods like:
Where did you see these classes? Is it a PEAR package? I haven't seen
on
directoryIterator, and I didn't see it when I used your function on beta
3 (which is what I'm running at present). So, it must be brand new.
--
Regards,
Ben Ramsey
http://benramsey.com
http://www.phpcommunity.org/wiki/People/BenRamsey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit
web site the m$ sql server web site and your local bookstore on online
resource.
--
Regards,
Ben Ramsey
http://benramsey.com
http://www.phpcommunity.org/wiki/People/BenRamsey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I would advise against sending attachments to the list with the message
read it immediately. Chances are, it won't be opened or looked at.
Please include a description of the problem you are facing, as well as
the code you are using in your message body--not in an attachment.
[EMAIL
Use the urlencode() function.
http://www.php.net/manual/en/function.urlencode.php
Piet From South Africa wrote:
i have the following problem.
when i href like this
a href=nextpage.php?name=$name
and the name contains a sign, it does not post it to the next page.
if the name is bedbreakfast
Use the urlencode() function.
http://www.php.net/manual/en/function.urlencode.php
Piet From South Africa wrote:
i have the following problem.
when i href like this
a href=nextpage.php?name=$name
and the name contains a sign, it does not post it to the next page.
if the name is bedbreakfast
Use the urlencode() function.
http://www.php.net/manual/en/function.urlencode.php
Piet From South Africa wrote:
i have the following problem.
when i href like this
a href=nextpage.php?name=$name
and the name contains a sign, it does not post it to the next page.
if the name is bedbreakfast
Probably the best way to do this is the use cron to schedule a script to
run at a specified time.
The way I'd do it is to create a PHP script that compares the current
date with the date they registered (you'd save that date to the
database, of course). If the current date is greater than 3
...
i've never heard ofit ;-)
(I'll come out from under my rock now)
Cheers everyone
Ben Ramsey [EMAIL PROTECTED]
20/02/2004 13:36
To
[EMAIL PROTECTED], Tristan Pretty
[EMAIL PROTECTED]
cc
Subject
[PHP] Re: Delayed mail()... ?
Probably the best way to do this is the use cron to schedule
You might be able to create some function that uses a combination of
array_keys(), array_values(), and array_combine() to do what you want.
Check the manual at http://www.php.net/array for more information on
these functions.
Gerard Samuel wrote:
Im looking for the fastest way to modify array
you want them to have?
Gerard Samuel wrote:
On Wednesday 18 February 2004 12:03 pm, Ben Ramsey wrote:
You might be able to create some function that uses a combination of
array_keys(), array_values(), and array_combine() to do what you want.
Check the manual at http://www.php.net/array for more
Shouldn't you use javascript to get the local time of the HTTP client, and
use PHP to get the time of the server?
Ben
On Tuesday 17 February 2004 11:47, Hamid Hossain wrote:
[EMAIL PROTECTED]
--
Dr Ben Guofu Wu
Programming Director
Tel: 01743-340034 Fax: 01743-368214
Icom Innovations, http
I've always found the PHP manual to be very helpful:
http://www.php.net/manual/en/pcre.pattern.syntax.php
Pete M wrote:
Getting completely confused how this stuff works !!!
Anyone recommend a book for a regex newbie ?
pete
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Ben Ramsey wrote:
I've always found the PHP manual to be very helpful:
http://www.php.net/manual/en/pcre.pattern.syntax.php
Pete M wrote:
Getting completely confused how this stuff works !!!
Anyone recommend a book for a regex newbie ?
pete
--
PHP General Mailing List (http://www.php.net
Take a look at the manual. There is a session_destroy() function:
http://www.php.net/session
Natalia Sensini wrote:
I want to destroy a session when you click in a sing out link,
something like this
a href= link
onClick=session_destroy()
Is ti possible? how?
--
PHP General Mailing List
, in this case, I chose to use the following wording, and
the folks at FSF told me this was fine:
snip
In addition, as a special exception, Ben Ramsey gives permission to link
the code of this program with those files in the PEAR library that are
licensed under the PHP License (or with modified
Yup. I believe that's what you have to do in order to satisfy the
restrictions in the GPL.
Gerard Samuel wrote:
So to clarify.
If I have a piece of code that utilises PEAR's Tar class (which uses a PHP
License). In order for me to distribute my piece of code (under the GPL)
along with the Tar
I currently developing a project that I wish to release under a,
preferably, open-source and copy-left license. So, I'm taking a close
look at the GNU GPL for this, and it seems to serve this purpose, well.
However, I am aware that the PHP license conflicts with the GNU GPL,
and, thus,
This is a SQL question, rather than a PHP question, so I would suggest
doing a google search on SQL tutorials, but I think what you are trying
to do would work like this:
SELECT * FROM table WHERE descript LIKE '%new%' OR descript LIKE '%car%'
Tony wrote:
hi
if i have new car and i want
:
print_r($_POST);
The only thing that is being saved to $_POST['modules'] is the last
value (15). When I count($_POST['modules']), I only get 1, so I know
that it's not passing back an array of numbers like it should.
Am I doing something wrong?
-Ben
--
PHP General Mailing List (http
:
Hello Ben,
Wednesday, February 11, 2004, 9:22:33 PM, you wrote:
BR Am I doing something wrong?
Yup :)
It needs to be:
select name=modules[] ...
Note the change in name from modules to modules[]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
I don't know about a user DSN, but I do know it's possible to create
an ODBC connection, using the ODBC functions. Check out the manual:
http://us4.php.net/manual/en/ref.odbc.php
Andrew Kwiczola wrote:
Heya, I was wondering if its possible to create a odbc connection with
php, using a User
There's the Zend Encoder, which is fairly expensive. However, I suppose
you could use the base64_encode function to do what you want:
http://us2.php.net/manual/en/function.base64-encode.php. My idea is
that you could create a script that would read in your PHP scripts using
the filesystem
I assume you would just register the COM object on the server and call
it with PHP's COM functions (like in ASP). Check out the COM functions
in the manual:
http://www.php.net/manual/en/ref.com.php
Radwan Aladdin wrote:
Hi All,
Just would like to know if you can call DLL from PHP the same
I mean register the DLL and treat it like a COM object. :)
-Ben
Ben Ramsey wrote:
I assume you would just register the COM object on the server and call
it with PHP's COM functions (like in ASP). Check out the COM functions
in the manual:
http://www.php.net/manual/en/ref.com.php
Radwan
. I would also
like the ability to access the engine through PHP, if possible.
Any suggestions or favorites out there? I would prefer not to write one
on my own.
Thanks.
-Ben
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
.
The extension should now work, and you didn't have to recompile anything.
-Ben
Paul Furman wrote:
Does this mean I need to recompile from source code?
(seems an extreme measure to me but what do I know)
Is that difficult to do on a windows machine? I see it in some phpinfo's
out there like this: http
Write the script in perl and chmod it to 755. Then use cron to schedule
it. Here's a tutorial to show you how:
http://www.unixgeeks.org/security/newbie/unix/cron-1.html
Christian Calloway wrote:
Damn stateless nature of HTTP, hey everyone, can someone point me or give me
an idea on how I
RedHat 8 should already have apache and PHP installed on it. You may
just need to start the httpd service to get apache working.
-Ben
Mrs. Geeta Thanu wrote:
Hi all,
I want to install apache and php in a redhat box version 8 and want apache
to load php. So how i shld proceed. Just downloading
fine.
Hope that answers your question, and, yes, this is more of a MySQL
question. ;-)
-Ben
John Taylor-Johnston wrote:
This is probably a MySQL question, and maybe an easy question, but I'm here to learn |:)
When I order by number, it echoes 1,2,3,4,5,6,7,8,9,10 and hten jumps to 100...199
(is_file($dirPath/$fentry)) {
echo $dirPath/$fentry;
}
}
closedir($fstream);
return true;
} else {
return false;
}
}
Hope this helps!
-Ben
Binay wrote:
Hi all,
is there function which scans a particual directory recurisly
generated. Could this be due to a script timeout? If so, how
do I raise the timeout value?
-Ben
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Ah... I was trying to lookup the word timeout, which was giving me
nothing. Thanks! Also, shouldn't I be receiving an error message if
the script is, in fact, timing out? I have checked display_errors and
it is turned on.
[EMAIL PROTECTED] wrote:
Hello Ben,
On 27 Jan 2004 at 9:27, Ben
Perhaps this link will help:
http://www.google.com/webmasters/
Frank Tudor wrote:
That's not very helpful.
I am also curious about this.
Anyone have a more thought provoking answer?
Frank
--- Raditha Dissanayake [EMAIL PROTECTED] wrote:
If you read the pages on google you will know the
for future use and then do as someone said and save
all the e-mail addresses to an array (and perhaps even free the result
set) before sending.
Thanks!
-Ben
Marek Kilimajer wrote:
You should. I know I did in older version of php, now I don't.
Ben Ramsey wrote:
Ah... I was trying to lookup
][0].
Karthikeyan.Balasubramanian wrote:
Hi Ben,
Your code works but If i remove the delimter [] which
I gave so that you could capture the data which needs to be
picked it doesnt work?. Any help?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
If you View Source in IE, you'll see it printed in the expected way.
The browser, though, will not show it as you expect it. This is because
the browser needs a br tag for a newline and will not read a \n as a br.
So, use br instead of \n.
Viviane Hu
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I answered a question similar to this yesterday. There is a
user-submitted function listed in the PHP manual under HTTP functions
that will POST to another page from within a PHP script and return the
value of the POST back to the PHP script without
Check the PHP manual for preg_match()
(http://us3.php.net/manual/en/function.preg-match.php).
I did play around with it a little bit, and I think I've got a starting
point for you to work with. Try out this code and then play around with
it to get the results you need. $matches[2][0] will
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Since the action of your form is the ASP script, it will always take
your user to the ASP script and not return results to the PHP
application, which I think it what you want to do, if I am not mistaken.
I found a link in the manual
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Anyone know what this error means:
PHP has encountered an Access Violation at 77FCC61F
I'm running PHP 5.0 beta 3 on IIS 5.0 on a Win2K machine. I received
the above error message multiple times after changing addslashes($value)
to str_replace(',
recognition. Other brands that have this same level of
recognition include Coke, Tylenol, Tupperware, etc.
- -Ben
Tim Thorburn wrote:
| Well there's also the small fact that under US copyright law if a
| company doesn't enforce its rights over said copyright, they lose the
| right to use it exclusively
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
As a humorous sidenote, I meant to say: let's hope that Windows (a
registered trademark brand of Microsoft) doesn't get to the level of
name recognition where the consumer refers to all graphical desktops as
Windows. ;-)
Roger Spears wrote:
| Another
VIEWs are those nice things that PostgreSQL includes that MySQL doesn't
yet. ;P
Jay Blanchard wrote:
[snip]
Speaking of MySQL, I heard tale that 5.0 would include VIEWS, but I
can't find that in any of the new features logs. Anyone know about
this? It'd be a great feature to have. Unless,
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
If your Web server is running on a machine that is separate from your
database server, then you'll also need to copy the file ntwdblib.dll
from the database server to your C:\WINDOWS\system32 folder. PHP needs
that DLL for the mssql functions to work
in helping create this standard.
Nonetheless, some good coding practices for PHP are in the PEAR manual
(as this is the standard way that PEAR developers request that you code
PEAR packages). These standards may be found at:
http://pear.php.net/manual/en/standards.php
-Ben
Alex Pilson wrote
Speaking of MySQL, I heard tale that 5.0 would include VIEWS, but I
can't find that in any of the new features logs. Anyone know about
this? It'd be a great feature to have. Unless, of course, anyone knows
how to do this without a CREATE VIEW statement.
-Ben
[EMAIL PROTECTED] wrote:
(cant
If you checked out the PHP Community site announcement on the php.net
site, you'd notice that the site may involve some coding standards
creation. I find this very interesting and perhaps exciting.
http://shiflett.org/archive/19
[EMAIL PROTECTED] wrote:
I've developed my own methodology and
Firebird 0.7 prior to that. Since the client uses
IE rather than Mozilla, then I won't worry about it for now. However,
it still would be a good idea to find a way to resolve it. Any other ideas?
Thanks,
Ben
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
[EMAIL PROTECTED] wrote:
or download the file without the php-script and analyse the
http-headers with a network-sniffer
There is no way to download the file without the PHP script. It is
being generated by the PHP script from data in a database. The file
does not actually exist.
-Ben
Alex Hogan wrote:
I got back an error that read;
Warning: session_start(): Cannot send session cookie - headers already sent
by
Warning: session_start(): Cannot send session cache limiter - headers
already sent.
You need to use session_start() before any headers are written.
-Ben
--
PHP
function reference is at: http://us3.php.net/manual/en/ref.odbc.php
-Ben
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
/html/loadtextfile.htm
Also, from what I understand, Flash now has a great XML parser, so you
could use PHP to generate XML and Flash could read in the XML as
variables. You might want to look into that, but I think it's only
available in the newest version.
-Ben
Eric Bolikowski wrote:
Hi
can read that in just fine without needing to connect via
a socket.
-Ben
Ben Ramsey wrote:
Flash has the ability to read in text files, so you could use PHP to
output data in the correct format and use Flash to read the PHP script
like it reads a text file. We did this in ASP once upon a time
at Macromedia.com may be the best place to ask.
Then again, I could be absolutely wrong. ;-)
-Ben
Eric Bolikowski wrote:
Hey Ben
I know it may sound nuts, but I really want to make a socket connection
between a Flash and a PHP file.
Normally I would simply read in a text file/read XML/send data
/language.variables.predefined.php
-Ben
Kaushan wrote:
Hi,
I am new to PHP scripting and struggling with the following problem.
I have two files, an HTML file and a PHP file.
HTML file contains a form with one text field and a submit button.
When a user pressed the submit button, it calls the php file (form
action
What the heck does this mean? I've been receiving a ton of these even
though I haven't sent many messages to the list.
-Ben
---BeginMessage---
This report relates to your message:
Subject: [PHP] Re: dynamic array creation from form elements,
Message-ID: [EMAIL PROTECTED
What's the error?
Luiz Gustavo Sarubi Macchi wrote:
Please, I´m trying to compile PHP so it´s reporting an error:
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
..
It already looks like you're doing that with the code:
if($UserSerial == $Serial){
Is that not working?
-Ben
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Is there an equivalent to Server.MapPath(MyDir\MyLocation) in php? I've
looked in the docs and don't seem to find it. I did find a reference to;
I believe what you're looking for is:
realpath('./')
That should do the same trick as Server.MapPath().
-Ben
--
PHP General Mailing List (http
:
$Serial = $_GET['Serial'];
$UserSerial = $row[0];
if ($Serial == $UserSerial)
Then, that should at least compare the serial field from the database
with the serial variable in $_GET.
-Ben
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I'm pretty sure I know how to use header() create a CSV file for a
client to download data from a database, but I think it would really
impress this client if I could generate a Microsoft Excel file instead
of a CSV file. Anyone know how to do this?
-Ben
--
PHP General Mailing List (http
headers is:
header(Content-Type: text/comma-separated-values);
header(Content-Disposition: attachment; filename=$name.csv);
Do I need to add another header?
-Ben
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Adding any of those headers still does not remove the .php from the
end of the file when I am prompted for the download. I have a client
that will be downloading this file, and I do not wish to instruct them
to first remove the .php extension before they can view it.
-Ben
[EMAIL PROTECTED
://www.php.net/manual/en/language.variables.external.php
Hope that helps!
-Ben
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
with an equals sign. I do not know whether this is also the
case in PHP. But, nonetheless, it's just another way of doing things.
Again, check the documentation. This one can be found at:
http://www.php.net/manual/en/function.strcmp.php
-Ben
--
PHP General Mailing List (http://www.php.net
on the date.
-Ben
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Try using $_POST[listItem$i] instead of $_POST[listItem . $i]
or do something like this:
$post_var_name = 'listItem' . $i;
this do $_POST[$post_var_name];
I don't think you can do any evaluation within the brackets. Thus, you
couldn't use the concatenating dot.
-Ben
--
PHP General Mailing
I don't think you can do any evaluation within the brackets. Thus, you
couldn't use the concatenating dot.
Nevermind... I am wrong on this. But, I also completely missed that the
code you have posted doesn't set $iListItems as Richard suggested. So,
go with his suggestion. :)
-Ben
--
PHP
.
-Ben
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
really no leads (that I can see)
to give us a clue as to where the problem is. Your best bet is to check
the Apache error logs and see if an error is being generated and saved
there.
Perhaps someone else could offer some better suggestions than I?
-Ben
--
PHP General Mailing List (http
mailing list, since they may be able to help you better. If your PHP
script just echos something, then you'll need to find out what VB
function there is to execute the PHP script and grab the value that is
echoed.
-Ben
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit
and it worked just fine. You'll need to download the zip package
on the downloads page to follow these steps --
http://www.php.net/downloads.php
-Ben
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
at. You
may read up on this at http://www.php.net/zend-engine-2.php
-Ben
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
it
to sign up for anything else (I just created the address, actually).
So, I assume that these messages are some sort of bouncebacks from my posts.
Has anyone else experienced a similar problem, and is there a way to
stop this other than marking these as spam in Thunderbird?
-Ben
--
PHP
with short_open_tag enabled in php.ini or
with ini_set().
-Ben
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
with short_open_tag enabled in php.ini or
with ini_set().
-Ben
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
with short_open_tag enabled in php.ini or
with ini_set().
-Ben
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
and post it.
You may also use ini_set() to set display_errors to 1 to turn them on
for a particular page only.
-Ben
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
How can you filter the extension for files being uploaded
on a system via form.
Use pathinfo() ... check it out at
http://www.php.net/manual/en/function.pathinfo.php
-Ben
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
The script should be easy enough to create on your own. Just check the
documentation on the mail() function at php.net.
-Ben
Eric Belardo wrote:
Good evening all,
I am designing a website were different users will be posting their
portfolios and I am seeking a PHP Contact form script
Ben Wrigley
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I am trying to build a pattern to do the following:
- Find all occurences of HREF= and SRC= except those that include the HTTP:// in
their path
- Insert my own domain string (e.g.: http://www.my_domain.com)
So has an example the input string would be :
$val = '
A
I am trying to build a pattern to do the following:
- Find all occurences of HREF= and SRC= except those that include the
HTTP:// in their path
- Insert my own domain string (e.g.: http://www.my_domain.com)
So has an example the input string would be :
$val = 'A
]*));
...but so far it's not working. I *know* there's data in the 'office'
field -- any ideas as to what I'm missing?
Thanks a lot in advance,
Ben
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
]*));
...but so far it's not working. I *know* there's data in the 'office'
field -- any ideas as to what I'm missing?
Thanks a lot in advance,
Ben
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I need someone to tell me exactly what this regular-expression means:
if(ereg([^ \t\n],$val)) {
// do the job here
}
I'm looking for an intermittent bug, and I need to understand this to make
sure I have found the bug.
Thanks
--
PHP General Mailing List (http://www.php.net/)
To
Thanks Bronislav for your answer but this can't be it as the following test
code passes validation:
?Php
$val = \t test \n;
if(ereg([^ \t\n],$val)) {
echo 'In here!!';
}
echo 'BR' . nl2br($val);
?
Anyone has an idea?
Bronislav kluèka [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
601 - 700 of 1215 matches
Mail list logo