In a signup page , I want to verify some information what the user fill in ,inculde
user name¡¢password¡¢email etc.But I don't know how to verify the available email
address.Who can help me ?
Thanks a lot.
ocean
On Thu, 23 Jan 2003 12:28:21 -0800, Richard Baskett wrote:
> Ok I am hearing a bad rumor that Red Hat 8.0 and the Mac xserve both come
> with Apache 2.. now is this a rumor or is this true?
>
> If it's true.. why? And does anybody have any experience in uninstalling
> Apache 2 on the xserve and
Albert Camus. Your sig has a quote attributed to "unknown". It was Albert
Camus.
Don't walk in front of me, I may not follow, Don't walk behind me, I may not
lead, Just walk beside me, and be my friend. -Albert Camus
On Thursday 23 January 2003 12:28 pm, Richard Baskett wrote:
> Ok I am heari
if it's just the string after the ? then use $QUERY_STRING
can't remember which $_* variable it's under...
HTH
> -Original Message-
> From: Simon Angell [mailto:[EMAIL PROTECTED]]
> Sent: Friday, January 24, 2003 4:50 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [PHP] ? in URLS.
>
>
> Ok, i
Ok, ill explain my self further. the URL in the script is
http://www.weatherzone.com.au/yourHomePage.jsp?ref=f2eeb571ed
The script uses the URL to see the page and store it locally, then another
script grabs selected data from that page. the stuff after the ? is
essential for the data i want to be
First, if you expect only a single row returned, why are you using a while(){}
construct?
Second, mysql_fetch_array() does not like to operate within another function call.
I've tried it on
multiple occasions; failed.
Third, each() operates on succeeding elements of an array; there are only two
It comes from the acronym, FUBAR. This is military slang that has been around since
WWII. FUBAR
stands for:
"F**ked Up Beyond All Repair"
- Original Message -
From: "Uttam" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, January 23, 2003 11:15 PM
Subject: [PHP] Who is foo &
How come I *can* do these commands:
$row = mysql_fetch_array($result,MYSQL_ASSOC);
while(list($myVariableName,$sqlFieldName)=each($row))
{ $$myVariableName = $sqlFieldName; }
But I can't do this command?
while(list($myVariableName,$sqlFieldName)=each(mysql_fetch
Ummm...and this has what to do with PHP?
http://www.catb.org/~esr/jargon/html/entry/foobar.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
How are you?
My friends following are two javascript files for pop-up menus. menu2.js is working
satisfactorily while menu.js is not working. I tried lot to trace the loophole but all
in vain. kindly compare the two files and help me.
menu2.js
function fwLoadMenus() {
if (window.fw_menu
Hi list!
I think this topic is worth discussion here...
regds,
-Original Message-
From: Uttam [mailto:[EMAIL PROTECTED]]
Sent: 21 January 2003 13:29
To:[EMAIL PROTECTED]
Subject: [PHP-WIN] Who is foo & what is bar?
In many code examples in PHP documention (& others also), I have seen
au
alternate to right click is Shift-F10 in IE which i think can not be handled
by javascript.
uttam
-Original Message-
From: Martin Hudec [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 23, 2003 15:47
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Disable pic copy/save?
H it might be done
Chris,
Can we see your test code?
John
arch said:
> Nope. It's tested with a typical client/server setup, as in a real use
> case.
>
>
> "Chris McCluskey" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]..
> .
> I'm going to ask the really stupid question... Is my
Nope. It's tested with a typical client/server setup, as in a real use case.
"Chris McCluskey" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]..
.
I'm going to ask the really stupid question... Is mysql, php, apache
running on the same box as the box you are using t
On Friday 24 January 2003 06:09, Jeff Pauls wrote:
> I have a simple mail script and when I run the script I get the following
> error:
>
> Warning: mail() is not supported in this PHP build in
Try searching the archives using the above message. It's topic that has been
covered quite a number of
On Friday 24 January 2003 11:42, Mike Bowers wrote:
> I want to make something somewhat like fileplanet so I can keep my
> server fast yet still maintain a large downloads database. I'm
> unfamiliar with FTP and PHP. Could anyone tell me how to find out how
> many people are on the FTP server at on
I want to make something somewhat like fileplanet so I can keep my
server fast yet still maintain a large downloads database. I'm
unfamiliar with FTP and PHP. Could anyone tell me how to find out how
many people are on the FTP server at one time?
Thanks in advance,
Mike Bowers
PlanetModz Gaming N
I am guessing that you installed the php from a redhat rpm; if so then you
just need to install the php-mysql rpm. You can download from:
http://rpmfind.net//linux/RPM/redhat/8.0/i386/php-mysql-4.2.2-8.0.5.i386.htm
l (or any of a number of other places).
Cheers,
Steven Balthazor
-Original
> I am hosted with an ISP called Apexon. I have written php scripts to
send
> mail from a webpage. When I send this mail, the from address becomes
> [EMAIL PROTECTED] . Their website says that the variable
> sendmail_from is [EMAIL PROTECTED] . I want to force my own from address
in
> this. I als
u can use nl2br() to convert \n to tags b4 echo the string in textarea.
Foong
"Neil M" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Adi wrote:
> > i want to add in textarea a string with new line tag in it. how to do
that?
> >
> > my try:
> > $string="-lin
Why do I have the feeling this problem is like spending $20,000 to get a
rusted out Gremlin (it's a car, a crappy one) to be able to go 5 mph (a
speed, similar to kph) downhill, when you could just buy a nice shiny
brand new Kia, if you have a job, if you have $99, and if you WANT A NEW
CAR! (not t
> I am trying to add a "login" functionality to my new manager. A
> simple
> username/password functionality, so that the user logs in and
everything
> he
> does inside the site will have his name. I mean, if he wants to create
a
> new entry on the database, the field "name" wont have to be f
With what then? Why not? Should this be a bug filed in their bugs
database?
- Vic
-Original Message-
From: Jim Lucas [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 23, 2003 2:00 PM
To: Victor; [EMAIL PROTECTED]
Subject: Re: [PHP] total file size
yes, it is possible, but not with php
Hello All,
I'm trying to setup a RedHat Psyche (8.0) server. So far, all well.
However, I just ran into a problem with MySQL. PHP doesn't have the
MySQL functions in it. Is there another way to install those without
having to re-compile PHP?
Thanks for any and all help,
-Michael Smith
Some peop
--- Pag <[EMAIL PROTECTED]> wrote:
> What do i use to authenticate the user on my site?
> Sessions?
No, authentication is something you do. PHP's sessions help
you keep up with persistent data associated with a user.
There are some things in PEAR (http://pear.php.net/) that
handle authentication
Start here
http://www.WebmasterBase.com/article/319
Sure, it isn't perfect, and doesn't do everything you want it to do (and it
currently relies in register_globals ON), but I found it educating, and
formed the basis of my own user/admin/clearance/membership/session
management system which I use o
Hi,
I am trying to add a "login" functionality to my new manager. A simple
username/password functionality, so that the user logs in and everything he
does inside the site will have his name. I mean, if he wants to create a
new entry on the database, the field "name" wont have to be filled,
Hi all,
Any idea why when I execute 'mv' in a php script
the file is copied not moved?
Apache is a member of the group which owns the file
and has wrx permissions.
Thanx,
Christian
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Yes,
I have used php-ldap to connect to exchange for authentication...
--
Ray
On Thu, 2003-01-23 at 17:52, Michael Hall wrote:
> --
>
> I was wondering if anyone had any experience, suggestions, advice or pointers
> regarding the use of Win 2000 Active Directory servers to authenticate users
--
I was wondering if anyone had any experience, suggestions, advice or pointers
regarding the use of Win 2000 Active Directory servers to authenticate users in
PHP scripts hosted on Linux. Are PHP's LDAP functions of use here?
TIA
Mick
M
I have reached the end of my research and reading and I am stuck.
Can anyone help me understand why I am not able to SET the voice
of my choice with the following PHP code?
Everything else works just fine.
I should say that I am a novice at both PHP and SAPI so please excuse my
simplistic approach
--- "Sabina A. Schneider" <[EMAIL PROTECTED]>
wrote:
> I don't want to take much time, but I'm
> still having problems with cookies
Sabina,
First, to answer your question of path, you should start
with / as it is the least restrictive. You can always try
restricting cookies per directory later, b
PHP general list
I don't want to take much time, but I'm still having
problems with cookies and I want to know if somebody could help my solve
them. First of all I tried to put the cookie Path to the different pages,
but didin't function. What's more I don't know what to put in
At 00:48 24-1-2003, you wrote:
hello friends,
I am hosted with an ISP called Apexon. I have written php scripts to send
mail from a webpage. When I send this mail, the from address
becomes [EMAIL PROTECTED] . Their website says that the variable
sendmail_from is [EMAIL PROTECTED] . I want t
hello friends,
I am hosted with an ISP called Apexon. I have written php scripts to send mail from a
webpage. When I send this mail, the from address becomes [EMAIL PROTECTED] .
Their website says that the variable sendmail_from is [EMAIL PROTECTED] . I want to force
my own from address in t
> >
Regards,
Philip
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- Karina S <[EMAIL PROTECTED]> wrote:
> >
Try this instead:
Chris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
can you copy & paste a little bit of the HTML source of what you're doing?
justin
on 24/01/03 10:05 AM, Karina S ([EMAIL PROTECTED]) wrote:
> Hello,
>
> I want to make a sit where an image comes from a database. In the db I store
> only the filename and path. I have the following code:
> ech
Hello,
I want to make a sit where an image comes from a database. In the db I store
only the filename and path. I have the following code:
>
The echo line print the good string e.g.: "Pic/Myphoto.jpeg"
But I can't see the image. Only a one small whit box wit red x (no image).
And if I try
--- "Jed R. Brubaker" <[EMAIL PROTECTED]> wrote:
> I am having a problem with reseting my query results. I
> want to take $results and have it spit it out line by
> line - but twice.
http://www.php.net/manual/en/function.mysql-data-seek.php
Chris
--
PHP General Mailing List (http://www.php.net/
I am having a problem with reseting my query results. I want to take
$results and have it spit it out line by line - but twice. I have found that
after the first time through, it just spits out 15 (in this case) more blank
lines.
Any help? (My code is below)
Th
Hello there,
I am looking around for some E card senders based on PHP and MySQL .
Duz anyone have any ideas which I should use.?
Please let me know... I really appreciate it,
best
Pushpinder
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> Will this combination work?
> It would be great if we could use this combination for testing only
> til the big brothers apache and php work fine with perchild.
Perchild alone doesn't work at this point, so no, perchild+PHP won't work.
-Rasmus
--
PHP General Mailing List (http://www.php.net
--- Bob Lockie <[EMAIL PROTECTED]> wrote:
> On 01/22/03 23:22 John W. Holmes spoke thusly
>
> > Pretty sure this is an Apache2/PHP bug. It was
> > discussed on here in the past few days.
> >
>
> I tried Apache 2.0.44 and PHP 4.3 and it still doesn't
> work. :-(
Apache 2.0.44 == Apache2
Chris
--
Will this combination work?
It would be great if we could use this combination for testing only
til the big brothers apache and php work fine with perchild.
--
Jochen Kaechelin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 01/22/03 23:22 John W. Holmes spoke thusly
Pretty sure this is an Apache2/PHP bug. It was discussed on here in the
past few days.
I tried Apache 2.0.44 and PHP 4.3 and it still doesn't work. :-(
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
--- SpyProductions Support Team
<[EMAIL PROTECTED]> wrote:
> So what is the decode part for then? Earlier versions of
> PHP?
No, it is for decoding URL-encoded strings, just as you
would expect.
The reason you do not need to decode URL variables is
because they are not URL-encoded by the time yo
Hi,
I have a simple mail script and when I run the script I get the following error:
Warning: mail() is not supported in this PHP build in /var/www/htdocs/file.php on line
159
I've checked the php.ini file to see if a setting was turned off, but came up with
nothing except for:
; For Unix only
scott wrote:
Thanks Chris,
Could you explain to me how to launch a program from PHP as
another user, such as root? The app that I am trying to launch, apache
does not have rights to. And, it would be to complex of a procedure to
change the ownership on all of the processes that go with it.
The
I'm going to ask the really stupid question... Is mysql, php, apache
running on the same box as the box you are using to test from?
-Chris
-Original Message-
From: arch [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 23, 2003 1:42 PM
To: [EMAIL PROTECTED]
Subject: [PHP] php performanc
So what is the decode part for then? Earlier versions of PHP?
:)
Thanks,
-Mike
-Original Message-
From: Leif K-Brooks [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 23, 2003 4:43 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] URLencode issues - halp!
I'm running php4 on apache on linux. I'm having performance problems with
php getting data from the mysql database. With one user at a given instant,
performance is fine, even with the massive size of the data table. But when
do very rudimentary load testing (basically, opening a few browser and
pe
Take the
$name = urldecode($name);
bit out. The decoding is all handled by PHP before your script runs.
Also, you should look into using $_GET['name'] instead of $name.
SpyProductions Support Team wrote:
Here is some code:
From a form, I get username as $name and it goes to the processing f
Here is some code:
>From a form, I get username as $name and it goes to the processing file for
the form, where a sale happens and it sends the code to a different server
like this:
$data = urlencode($name);
print "";
That server then processes the person and puts them into the MySQL - but i
Guess what,
if you'll try another browser the whole thing will work :) This is IE's
problem
--
Maxim Maletsky
[EMAIL PROTECTED]
Marek Kilimajer <[EMAIL PROTECTED]> wrote... :
> Do you get the message from apache? If so, check apache logs. If it is
> the exploder's default error page, turn u
Use the execution operator backtricks (``)
';
echo `ls -la`;
?>
will throw you the shell's ls -la to the browser
--
Maxim Maletsky
[EMAIL PROTECTED]
scott <[EMAIL PROTECTED]> wrote... :
> Hello,
>
> Does anybody know how to execute a shell command from PHP on a Linux
> system?
>
> Thanks
words, for a programming language, are nothing more than just the spaces.
So, as previousely was shown - could the mount of spaces in the string
to get the amount of `words' in between them.
--
Maxim Maletsky
[EMAIL PROTECTED]
"Craig" <[EMAIL PROTECTED]> wrote... :
> Is there a way to count t
Well, I don't know about trying to uninstall it, but RH8.0 does come with
Apache 2
It works fine and I have not ran into a reason why I should use the older
version for this.
Granted I only use it for testing, my live server is RH7.2 which uses Apache
1
- Original Message -
From: "Richard B
Chris --
...and then Chris Boget said...
%
% > So I'm back to the beginning and to funky array wrappers again... I
% > think these surfers will just see their baskets in different order after
% > a rename :-)
%
% Of course, if you display the baskets in alpha order by name, it won't
True enoug
Mike --
...and then SpyProductions Support Team said...
%
% I am having some issues, apparently, with URL encode.
...
%
% I decided to use this because people are allowed to use *any* key as part of
% their name, so a name like "rt'$%^*&'rt" is perfectly allowable.
Makes sense, but I'd use base
Ok I am hearing a bad rumor that Red Hat 8.0 and the Mac xserve both come
with Apache 2.. now is this a rumor or is this true?
If it's true.. why? And does anybody have any experience in uninstalling
Apache 2 on the xserve and does it break anything?
Cheers!
Rick
Don't walk in front of me, I m
--- SpyProductions Support Team
<[EMAIL PROTECTED]> wrote:
> I am having some issues, apparently, with URL encode.
...
> Oh, and BTW, I do use urldecode(). :)
If you are using URL encode in order to pass values on the
URL (and then reference them as $_GET['blah']), then URL
decoding is superfluou
Nathan Fritz wrote:
We're running into the same problem. It was quite convenient to use
date("Y-m-d",strtotime($dateField)) to process date data for MySQL. Worked
fine for my news management system, since I work with current dates, but my
colleague is using it for an application submission system,
Some code please!
RW
Quoting SpyProductions Support Team <[EMAIL PROTECTED]>:
###
### I am having some issues, apparently, with URL encode.
###
### I've got people signing up for a membership on a site, but some of their
### memberships fail because the username, which in encoded, sometimes go
I am having some issues, apparently, with URL encode.
I've got people signing up for a membership on a site, but some of their
memberships fail because the username, which in encoded, sometimes goes
through fine and sometimes does not.
Are there any special reasons this may happen?
I decided to
Hi,
it would be MUCH faster and easier to debug if you wrote a parser. See the
example parsers in phpDocumentor, download available at
http://www.phpdoc.org
Greg
"Andreas Sheriff" <[EMAIL PROTECTED]> wrote in message
000701c2c272$6b13b870$[EMAIL PROTECTED]">news:000701c2c272$6b13b870$[EMAIL PRO
> So I'm back to the beginning and to funky array wrappers again... I
> think these surfers will just see their baskets in different order after
> a rename :-)
Of course, if you display the baskets in alpha order by name, it won't
be too much of a shock to them when they are displayed in a differ
Jason, et al --
...and then David T-G said...
%
% ...and then Jason k Larson said...
% %
% % If you are looking for something as simple as an index or key rename
That was it, indeed, but
$t = array("t1" => "temp1", "t2" => "temp2" ) ;
$f = array("f1" => "foo1", "f2" => "foo2" ) ;
$a['t'
yes, it is possible, but not with php.
Jim
- Original Message -
From: "Victor" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 22, 2003 8:10 PM
Subject: [PHP] total file size
> Is there a way to find out total upload file size from a file uploaded
> though an html
As you noted, there really should be
while ( $j < $i )
because $i is incremented after last element to $selectTab is added. But
it still should not die quietly. Do you have display_errors off?
[EMAIL PROTECTED] wrote:
Hi
There is no error or notice message on the screen and in the log of the w
use $_SERVER['HTTP_ACCEPT_LANGUAGE']
John M wrote:
Hello,
I have the code below, but it doesn't work. I see the message "It is an
array" but nothing else. What can be the problem?
How can I get the actual browser language?
I use WinXp Prof, Apache 2.0.43, PHP 4.2.3, safe_mode is on.
Thanks!
Jason, et al --
...and then Jason k Larson said...
%
% If you are looking for something as simple as an index or key rename
Yep.
% function it can be done and without making any copies of the array or
% object etc by:
Cool!
%
% $array['new_key_name'] =& $array['old_key_name'];
% unset($a
On Thursday 23 January 2003 21:20, Tyler Durdin wrote:
> I am using PHP 4.2.1 and have noticed that I can only upload files with a
> php script when I have the php.ini file set with register globals on. Is
> there a way to use the file upload scripts without having to turn the
> register globals on
Brent --
...and then Brent Baisley said...
%
% Unless the user has a lot of baskets, I would assume you would just list
% all the baskets the user has as links on the web page or as a pop up
One never knows, but I currently list as many as he has anyway.
% menu. The value passed by the links
On Thursday 23 January 2003 21:49, Urb LeJeune wrote:
> I could do this in perl but I'm being stubborn :-)
>
> When I run the following code as a regular user, everything fails.
> When I run it as root the directory is created and the chmod
> works. However, chown reports:
[snip]
> To help
To be somewhat more rigorous, you could do:
$numOfWords = count(preg_split('/\s+/', trim($string)));
(also untested); this ignores leading/trailing whitespace, and deals
with multiple spaces/tabs between words. There is an example in the
docs (below) called 'Get the parts of a search string' t
use urlencode()
Simon Angell wrote:
Hi All.
I am currently playing with sripts, and have come across a problem, that i
can't slove. (i am a novice - lol).
The script requires a URL to grab data from. The URL has a ? in it, and
testing the script it grabs the base data of the URL, but not the ess
Just to add a little fuel to the fire, the only way I've seen or been able
to get PHP and Apache 2 working together is by installing each from my Red
Hat 8.0 CD's. When I tried to compile each together, I got many an error.
When I start doing some actually web work on my testing server, I imagi
On Friday 24 January 2003 00:24, Christopher Ditty wrote:
> Hello all. I have a few servers that I need to check during a login
> process. If the first server fails to connect, then I need to do server #2
> and so on. Below is the code that I am using, but I am unable to get it to
> work like it
If you are looking for something as simple as an index or key rename
function it can be done and without making any copies of the array or
object etc by:
$array['new_key_name'] =& $array['old_key_name'];
unset($array['old_key_name'];
The first line creates a reference to the array.
The second l
Everyone,
I was wondering if there are any perl/php programmers that have used mason.
I am trying to get the advantages/disadvantages of each?
I am pro PHP, but my does is pro perl. What does everyone think about the
benefits of one over the other?
Thanks,
Ray
signature.asc
Description: Th
Look like this is something I'll stick to from now on. Just create a new session when
a login is being attempt. No destruction or anything of that sort. I have been
trouble free for a couple of days now... It seem that destruction of hte session data
and files aren't being done correctly. I
When a session is closed, even though the file in /tmp may still exist, it is simply
waiting for garbage collection to clean it up. New sessions in no-way cross link
themselves with old ones, I promise you, you can have 1000 concurrent sessions
and no one's data will overlap unless bad progr
No, it's not sent to the browser. Your output buffer catches it, and
the output buffer is then erased with ob_end_clean().
Oliver Witt wrote:
Marek Kilimajer schrieb:
Use output buffer:
ob_start();
ImageJPEG($im);
$imagestring=ob_get_contents();
ob_end_clean();
Thanks for the answe
Can't do the unset either.. For some reason, the session file aren't doing
what it is suppose to do. When one IE browser closed, it lose it's link
to this session file in /tmp. If I remove this unused file or something, it
affected other session files where other IE browsers had already esta
> I'm wondering is, is there a way to lose the existing session and
> existing session data while making a new session id??? I can't use
> session_destroy() function because it affected IE users, it doesn't
affect
> the non-IE user at all. I got so tired of problems with IE and having
it
> t
> Does anybody know how to execute a shell command from PHP on a Linux
> system?
Yes.
---John Holmes...
PS:
http://homepages.tesco.net/~J.deBoynePollard/FGA/questions-with-yes-or-n
o-answers.html
PSS: http://www.php.net/manual/en/ref.exec.php
--
PHP General Mailing List (http://www.php.net/
Marek Kilimajer schrieb:
> Use output buffer:
> ob_start();
> ImageJPEG($im);
> $imagestring=ob_get_contents();
> ob_end_clean();
>
>
Thanks for the answer. But if I do it like that, the picture has been sent to
the browser. That's what I don't want. I need to know the size of the picture
befor
Use output buffer:
ob_start();
ImageJPEG($im);
$imagestring=ob_get_contents();
ob_end_clean();
Oliver Witt wrote:
"1lt John W. Holmes" schrieb:
After calling to the function ImageCreateFromJPEG() and before outputing
the image with ImageJPEG, is there a way to determine the images size in
b
Urb Lejeune wrote:
I could do this in perl but I'm being stubborn :-)
When I run the following code as a regular user, everything fails.
When I run it as root the directory is created and the chmod
works. However, chown reports:
chown failed: Operation not permitted
Here is the code.
> Anyone who knows why get variables whit spaces in looking like this in
> the URL blah.php?aa+bb=1 is changed to aa_bb in $_GET resulting in
> $_GET['aa_bb'] instead of $_GET['aa bb']?
That's just what PHP does. It'll also convert any periods in a form element
name to an underscore.
Otherwise, i
Hi,
Thursday, January 23, 2003, 10:47:56 PM, you wrote:
DLM> hello friends,
DLM> I run some queries and output the database fields in a form with text boxes for
the purpose of editing by the administrator. My problem is that if my field value is
of 2 words or more, my output
DLM> text box shows
Hi Per,
> Anyone who knows why get variables whit spaces in looking like this in
> the URL blah.php?aa+bb=1 is changed to aa_bb in $_GET resulting in
> $_GET['aa_bb'] instead of $_GET['aa bb']?
I don't think spaces are legal in variable names - PHP's probably just
trying to recover from the dod
Hi
Anyone who knows why get variables whit spaces in looking like this in
the URL blah.php?aa+bb=1 is changed to aa_bb in $_GET resulting in
$_GET['aa_bb'] instead of $_GET['aa bb']?
/P
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Umm, how about:
$string = "hi my name is bob";
$count = (substr_count($string," ")+1);
On Thu, 2003-01-23 at 11:35, Craig wrote:
Is there a way to count the number of words in a string?
--
PHP General Mailing List (http://www.php.
> Is there a way to count the number of words in a string?
Untested, but this should work.
$string = "Is there a way to count the number of words in a string?"
$numOfWords = count( explode( " ", $string ));
Chris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http:/
"1lt John W. Holmes" schrieb:
> > After calling to the function ImageCreateFromJPEG() and before outputing
> > the image with ImageJPEG, is there a way to determine the images size in
> > bytes?
> > I want to reduce the quality more and more until it has reached a
> > certain level.
> > Thanks,
>
Is there a way to count the number of words in a string?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> After calling to the function ImageCreateFromJPEG() and before outputing
> the image with ImageJPEG, is there a way to determine the images size in
> bytes?
> I want to reduce the quality more and more until it has reached a
> certain level.
> Thanks,
> Olli
You have the image data in a string,
Hello all. I have a few servers that I need to check during a login process. If the
first server fails to connect, then I need to do server #2 and so on. Below is the
code that I am using, but I am unable to get it to work like it should. Can anyone
offer some advice on how this should be ac
1 - 100 of 190 matches
Mail list logo