On 04 Apr 2001 16:53:28 -0400, John Donagher wrote:
>
> There is an irc (ircg) extension now, although it is undocumented in the
> manual.
>
Who do one have to bribe/kill/beat to get the info about that when one
hasn't time/knowledge enough to snoop around in the sources?
--
php developer /
Re-arrange the code.
Always use session_register first, then follow it with assigning the
variable a value. May not be required in the future, but do it anyway for
clarity.
I don't think you need the global line at all. global is used inside of
functions and classes, not in an "non-nested" pie
> valid and well-formed are different, can php verify neither?
It can validate well-formed.
Regards,
Soeren Staun-Pedersen - [EMAIL PROTECTED]
--
"The internet is full, beat it"
- Me.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For add
Sure you can, but the only way I know of is to use fsockopen() and use
fputs() to mimick an HTTP connection session.
Obviously not a fun way of doing it, but it's the only way I'm aware of.
To fake geocities you'll need to set the referer, I believe. Not sure what
it needs to be set to, however.
First use session_register(). Then give the variable a value.
So just rearrange your code, like this:
That should do it.
--
Plutarck
Should be working on something...
...but forgot what it was.
"Jan Grafström" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]..
Neither. As far as I know no validation can be done whatsoever.
You can, however, use any XML validator that is currently available. But you
won't be able to use "native" or automatic validation.
Just have to be really careful about your output so you don't create a bad
document. And the only ti
Hello Christian,
you must register first, then set the value!
session_register("script_total_time");
$script_total_time=(float)$total_time;
$step_times_array[$step]=$total_time;
session_register("step_times");
$step_times=serialize($step_times_array);
Tuesday, April 03, 2001, 2:35:10 AM, you w
Anyone else started getting problems after upgrading to these?
Seem to get getting whitespace prepended to my post vars. Wondering if it's
the RPMs or 4.0.4pl1 itself.
Matt
--
Matt Kynaston
remove the green eggs before replying
--
PHP General Mailing List (http://www.php.net/)
To unsubscrib
valid and well-formed are different, can php verify neither?
G is for the gang of money I make.
F is for the gang of fools I break.
U is for the undisputed champ.
N is 'cause you never gonna get the mic back.
K is for the niggaz that I knock on they back.
http://www.gfunk007.com/
- Origina
First, I believe it's listed in phpinfo when you use phpinfo() inside a php
script.
"embedding" refers to sticking code inside of a text file. PHP is an "html
embedded language", so you basically just build an html page and place php
inside of it. That is why PHP requires an opening "tag" and a c
> If memory serves, I was told that "PHP at the present time can not validate
> an XML document". It does everything else, but you will have to validate
> everything on your own.
>
> In other words there is no current PHP function that can parse an .xml
> document and judge if it is Well Formed o
If memory serves, I was told that "PHP at the present time can not validate
an XML document". It does everything else, but you will have to validate
everything on your own.
In other words there is no current PHP function that can parse an .xml
document and judge if it is Well Formed or not.
--
Quit? LOL
Seriously, you may be forced to do 2 querries to mysql.
Use mysql_db_query twice, and it should, in an ideal world, work.
Of course it's a pain in the royal ass to combine the two querry results
into something useful, but at least you can "do it". It won't be pretty, but
it can be don
I say we should split it among each message on the general list.
So that's 1 pennies 104000 ways...that means we all get paid...woohoo!
Hot damn, we now all get paid 0.0961538461538461538461538461538462 pennies
for every message we post!
Cha CHING!
;-)
--
Plutarck
Should be working on s
Plutarck wrote:
> Very recently (a few days at most ago) someone was complaining about the
> problem you are having.
>
> According to them they can't get the socket function to accept socket
> nonblocking.
>
> It would seem that the function is broken, so you can't set nonblocking to a
> valid
sniper Wed Apr 4 22:38:19 2001 EDT
Modified files:
/php4/ext/fdf fdf.c
Log:
Fix bugs: #10157, #7549
Index: php4/ext/fdf/fdf.c
diff -u php4/ext/fdf/fdf.c:1.42 php4/ext/fdf/fdf.c:1.43
--- php4/ext/fdf/fdf.c:1.42 Sun Mar 18 01:25:40 2001
+++ php4/ext/f
If your program does not explicitly set the content type header, then I
believe it is Apache which will send it automatically. So that may be part
of your problem.
--
Plutarck
Should be working on something...
...but forgot what it was.
"Nikolai Vladychevski" <[EMAIL PROTECTED]> wrote in messag
Hm...what browser are you using to test the site?
By using the trans_id option I believe that tells PHP to append the sessid
into the url if the cookie is not being accepted.
Try turning it off and trying it, and you may need to comment out the
url.rewriter thing directly under that option.
Tr
http://www.php.net/manual/en/ref.outcontrol.php
If you want to use output buffering you must use the ob_* family of
functions.
In any script where you want it used you _must_ use it explicitly, or so do
in an included file. Unless you can change the php.ini, there is no way to
force all pages to
I have one table on one database and another table on another
database. I want to perform a left join these two tables in MySQL. I
don't think it's possible, but cuious if there is a "method" that can
be coded in PHP to do this?
If you think there's is a problem with my schema, well the boss want
Hi,
I want to store all data into mySQL database in encrypted format and
then show it only after decrypting it. What is the fastest way of doing
it?
Floyd
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTE
On Thu, 5 Apr 2001 13:29, Nikolai Vladychevski wrote:
> Hi,
>
> i got this problem, when I use an executable to produce the output for
> the html php sends headers screwing it all. For example, my script is
> like this:
>
>
> .
> some stuff in php using database to prepare tempfile
>
>
Ok - say you have this:
$foo = array(
0 => 'joe',
1 => 'stump',
2 => 'there');
while(list($key,$val) = each($foo))
$args[] = 'array['.$key.']='.$val;
$url = 'http://www.server.com/script.html';
$url .= '?'.implode('&',$ar
Very recently (a few days at most ago) someone was complaining about the
problem you are having.
According to them they can't get the socket function to accept socket
nonblocking.
It would seem that the function is broken, so you can't set nonblocking to a
valid value at the current time.
Hopef
Hi,
i got this problem, when I use an executable to produce the output for
the html php sends headers screwing it all. For example, my script is
like this:
in this example PHP does not generate HTML code, but the problem is it
still sends header "Content-type: text/html". Why? I really dont n
Basically I have array variables, lets say:
---
$folder[0] = "basic";
$folder[1] = "standard";
$folder[2] = "knowledge";
Fruther down in the code:
---
$totalsub_basic = "10";
$totalsub_standard = "24";
$totalsub_knowl
Hey all,
People who have been recieving this list for a while may remember me
going through all this a while back, so I am not really a newbie when
using sockets. I am basically trying to rewrite my Online Credit Card
Verification (OCV) client with the new socket functions.
In thoery the foll
Upload goes fine but I can't find the data :-( Any idea what PHP var
holds it ( if any ). $HTTP_SERVER_VARS['CONTENT_LENGTH'] has the right
value, so apache has received the data - any ideas ?
Thanks,
Peter
P.S. If I change encoding to application/x-www-form-urlencoded I get the
data - but I r
On 4 Apr 2001 19:12:52 -0700, Frank K <[EMAIL PROTECTED]> wrote:
>Does anyone know is there are advantages to running linux while =
>developing php? I just would like to know if there is anything special =
>to installing and developing on linux before I move from Win2k??
Three advantages:
In article <000501c0bd59$b637e7b0$[EMAIL PROTECTED]>,
[EMAIL PROTECTED] says...
}I'm trying to parse the different "parts" of an email address both for
}validation and munging.
}
}I have the following regex:
}([a-z0-9_\.\-]+)@([a-z0-9\.-]+).([a-z]{3})
}
}This works great, except it doesn't accept
as I saw on the manual output_buffering cannot be changed at runtime... so
there is NO WAY? If I want output_buffering I'll have to do it on all my pages?
and does it really cost that much in performance? is it worthed?
. Christian Dechery (lemming)
. http://www.tana
Maxim Maletsky wrote:
>
> Site uses sessions and, somehow, after this upgrade started carrying
> PHPSESSID through HREF.
Sounds to me like php was compliled with the --enable-trans-sid option
which does exactly that.
Just a guess.
Regards
Joseph
--
PHP General Mailing List (http://ww
Hello,
my co-worker has reinstalled Apache and PHP over the last night.
The Apache was upgraded to the new version while PHP was re-installed the
same.
PHP.ini was untouched.
Site uses sessions and, somehow, after this upgrade started carrying
PHPSESSID through HREF.
What should look fo
While developing PHP...not really.
The only real advantage is that you can make the path to your files more
similar/the same as your server will have, so you can just upload all your
scripts without modifying any lines.
Other than the fact that LAMP is a bit more stable/faster than WAMP (or at
l
Hell Knut,
"Knut H. Hassel Nielsen" wrote:
> Did you try to see if $HTTP_GET_VARS can help you ?
It's useful for pulling down the URL variables into an array, however I'd now
like to go to the next step of pulling out data of an array of arrays...
All of the files here are in a database.
Hi Joe,
I don't doubt that at all.. However, my strings aren now looking like this.
http://openconcept.ca/rabble/superRSS.phtml?Title%5B1000%5D=RBC+Dominion+Securities+investigates+&URL%5B1000%5D=http%3A%2F%2Fcbc.ca%2Fcgi-bin%2Ftemplates%2Fview.cgi%3F%2Fnews%2F2001%2F04%2F04%2Frbcds_010404&Abst
On Thu, 5 Apr 2001 02:29, Toni Barskile wrote:
> Can someone please help me w/the following code? I'm trying to insert
> data collected on a form into two tables into my database. I
> know the SQL statements work because I tested them individually, but I
> keep getting the error "Couldn'
It works for me in production.
On Wed, Apr 04, 2001 at 08:56:53PM -0400, Mike Gifford wrote:
> I tried this, but it converted [ and ] to url friendly codes. Does this still
> work?
>
> Mike
>
> Joe Stump wrote:
> > FYI you can send data like this on the url:
> >
> > http://www.foo.com/script.
On Wed, 4 Apr 2001 16:58, Dhaval Desai wrote:
> Hi!
>
>
> This is my code for sending email to all the emails in
> my database:
>
> $connect = mysql_connecT();
> $query = "select email from table";
> $execute = mysql_db_query("database", $query);
>
> while($r=mysql_fetch_array($execute))
> {
> $e
Does anyone know is there are advantages to running linux while developing php? I just
would like to know if there is anything special to installing and developing on linux
before I move from Win2k??
Thanks,
-Frank
If it's always in that format you could do an explode on "\n", then run the
regex on only the elements of the array you need to rip something from.
So you can build a much simpler and smaller regex to do your work.
--
Plutarck
Should be working on something...
...but forgot what it was.
"Kurth
Anyone using the crack extension in PHP?
AZ
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
Try setting your error level to E_ALL when being driven nuts... You'll get
lots of useful feedback.
August
""Eric Knudstrup"" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Being new to PHP from the C world, is there anyway that I can enforce that
> variables
With the exception of some true downtime, I really love the new design, just
wish it was easier to write to the folks responsible to say thanks. Fast,
lightweight, and good looking... They're too modest.
Bravo guys...
August
""Matt Friedman"" <[EMAIL PROTECTED]> wrote in message
002f01c0bd37$60
I tried this, but it converted [ and ] to url friendly codes. Does this still
work?
Mike
Joe Stump wrote:
> FYI you can send data like this on the url:
>
> http://www.foo.com/script.php?test[joe]=stump&test[harry]=bar&test[jane]=scott
>
> Then $test will be an array that translates to this in
> This works great, except it doesn't accept the country code
> domains (.au, etc). So I changed the number of characters to {2,3} at the
> end of the regex:
> ([a-z0-9_\.\-]+)@([a-z0-9\.-]+).([a-z]{2,3})
>
> But then this works for the country code domains, but cuts
> off a character of the
There is an irc (ircg) extension now, although it is undocumented in the
manual.
On Thu, 5 Apr 2001, Jason Brooke wrote:
> Yes - see the network and/or socket functions sections in the manual at
> http://www.php.net
> You might want to use the IRC RFC as a reference on the protocol
>
> jason
>
Being new to PHP from the C world, is there anyway that I can enforce that
variables are declared for being used?
There have been a couple of times where I have been driven nuts trying to
find out why something isn't working and found that a variable name was off.
Eric
--
PHP General Mailing L
Yasuo Ohgaki wrote:
> Did you read the Manual?
The manual is my bible I always read it before I post. Also searched
google and the list archives.
> socket_set_blocking
As far as I can tell this does not work for the new socket functions,
the file descriptor does not seem to be compatible? (i
I'm sending this command to mysql
UPDATE fusuario u, fgrupos g SET g.cdgrupo=1, u.celular="99823640",
u.nome="Augusto X", u.sobrenome="Cesar Castoldi", u.cidade="Florinópolis",
u.emailpessoal="[EMAIL PROTECTED]", u.idade="19", u.sexo="M",
u.operadora="T", u.email="", u.ddd="048" WHERE g.cdgrupo=1
Hi folks,
We're trying to install the above on a new development box here,
and it seems to be failing. The system administrator has given
me this to pass on and query:
===
I'm using PHP version 4.0.4pl1.
I tried the configure line:
./c
yeah have a look on phpbuilder.com phpwizard.net zend.com they all & most likely many
others have things on php & irc
-Original Message-
From: Puarot [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 05, 2001 7:00 AM
To: PHP List
Subject: [PHP] PHP + IRC
Hello PHP,
Is ther
Hello all,
Out of curiosity I am looking at what can be done with email marketing. I am
currently looking at a solution that apparently can "send a query to an
email address to detect if it can receive images. If so it sends an HTML
email, otherwise just text." (quote)
Does this sound correct? I
my_update("update sometable set col1=".$var1." where col2=".$var2);
and function:
function my_update($query){
global $host,$user,$psw,$name;
$conn=mssql_pconnect($host,user,psw) or die("Error: connection
failed!");
$rdb=mssql_select_db($name,$conn) or die("Error: DB does not exist"
cox Wed Apr 4 15:55:10 2001 EDT
Modified files:
/php4/pear/DB pgsql.php
Log:
as the row counter starts with 0, last row is before numrows
Index: php4/pear/DB/pgsql.php
diff -u php4/pear/DB/pgsql.php:1.36 php4/pear/DB/pgsql.php:1.37
--- php4/pea
Yes - see the network and/or socket functions sections in the manual at
http://www.php.net
You might want to use the IRC RFC as a reference on the protocol
jason
> Hello PHP,
>
> Is there any ways to use php with irc?
>
> --
> Best regards,
--
PHP General Mailing List (http://www.php.ne
I'm trying to parse the different "parts" of an email address both for
validation and munging.
I have the following regex:
([a-z0-9_\.\-]+)@([a-z0-9\.-]+).([a-z]{3})
This works great, except it doesn't accept the country code domains (.au,
etc). So I changed the number of characters to {2,3} at
just grab a copy and install locally from http://snaps.php.net/
A quick rewrite rule/browser based java script etc will do exactly the same
thing as php.net/functioname does but quicker.
- James
--
James Moore
[EMAIL PROTECTED]
PHP Web Scripting: http://www.php.net/
PHP QA Team: http://qa.php.ne
g script of course, but is not a problem
because the function needs to clear them so it can put data in them.
However it was a surprise to find that the variables contained data when
checked on the last line of the function, but when checked in the calling
code after the function call had bee
Trying to enable apc under freebsd php. Running into problems compiling it
right into apache.
gcc -I. -I/usr/home/dphoenix/freebsd/php-4.0.4pl1/ext/apc
-I/usr/home/dphoenix/freebsd/php-4.0.4pl1/main
-I/usr/home/dphoenix/freebsd/php-4.0.4pl1
-I/usr/home/dphoenix/freebsd/apache_1.3.19/src/include
In article <001401c0bd38$51d05580$[EMAIL PROTECTED]>,
[EMAIL PROTECTED] says...
}Can anyone help me?
}Code is here:
}
}The same code and function work fine in MySQL. Why doesn't work in MSSQL Server???
}
Investigate the MSSQL Server UPDATE syntax carefully:
http://msdn.microsoft.com/library/def
Hello PHP,
Is there any ways to use php with irc?
--
Best regards,
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
thies Wed Apr 4 14:51:59 2001 EDT
Modified files: (Branch: PHP_4_0_5)
/php4/ext/pgsql pgsql.c php_pgsql.h
Log:
MFH - make postgresql compiel against 6.5.x
Index: php4/ext/pgsql/pgsql.c
diff -u php4/ext/pgsql/pgsql.c:1.93.2.4 php4/ext/pgsql/pgsql.c:1.93
Can we roll an RC7 soon and get this 4.0.5 over with? :)
Maybe we should get people to test the latest CVS first to make sure your
patch didn't break anything.
We need a working 4.0.5.
Thanks!
Andi
At 08:46 PM 4/4/2001 +, Jani Taskinen wrote:
>sniper Wed Apr 4 13:46:27 2001 EDT
>
thies Wed Apr 4 14:40:41 2001 EDT
Modified files:
/php4/ext/pgsql pgsql.c php_pgsql.h
Log:
make it compile with 6.5.x
postgresql notices are now send to the standard error-log
Index: php4/ext/pgsql/pgsql.c
diff -u php4/ext/pgsql/pgsql.c:1.95 php4/ex
sniper Wed Apr 4 13:52:44 2001 EDT
Modified files:
/php4 configure.in
/php4/main php_version.h
Log:
This branch is 4.0.6-dev..
Index: php4/configure.in
diff -u php4/configure.in:1.228 php4/configure.in:1.229
--- php4/configure.in:1.228 Tue
Please forgive if this was posted before.
I don't know what the line really is called but recently when I upgraded to
PHP 4 Um.. The latest and I used the exact same compile parameters as I
did before. But now the first line of every script is displayed (the
execution line)
I.e. The file loo
sniper Wed Apr 4 13:46:27 2001 EDT
Modified files:
/php4 php.ini-dist php.ini-optimized NEWS
/php4/ext/standard url_scanner.c url_scanner_ex.re url_scanner_ex.c
/php4/main main.c php_globals.h php_variables.c
Log:
Added new configuration direct
On Wednesday 04 April 2001 23:36, Frank K wrote:
> Hi,
> The host that I am currently at only gives me 1 MySQL Database and I
> was wondering if I create lots of table will it slow it down at all? I will
> only be selecting data from 1 or 2 tables on a page...do you think it would
> slow it do
Hi,
The host that I am currently at only gives me 1 MySQL Database and I was wondering
if I create lots of table will it slow it down at all? I will only be selecting data
from 1 or 2 tables on a page...do you think it would slow it down at all?
Thanks,
-Frank
Nope.
Mysql_data_seek($result,0) and it is.
- Original Message -
From: "Daevid Vincent" <[EMAIL PROTECTED]>
To: "Mark Roedel" <[EMAIL PROTECTED]>; "George Wright"
<[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Wednesday, April 04, 2001 3:18 PM
Subject: RE: [PHP] reusing MySQL results -- r
Daevid,
I think there is only the initial connection (using mysql_query()),
and the result set is saved to a variable. This variable is then
operated on by mysql_fetch_object(). My problem was that
the internal pointer had exhausted its original array when I was
calling it a second time, an
Just my two cents here...
I could be mistaken, but wouldn't this method hit the database twice?
I would suggest you take your results the first time and store them in an
array or multidimensional array, then you can get to any element at any time
further down the page.
> -Original Message--
fmk Wed Apr 4 13:10:14 2001 EDT
Modified files:
/php4/ext/fbsql php_fbsql.h php_fbsql.c
Log:
Adding empty RSHUTDOWN function.
Index: php4/ext/fbsql/php_fbsql.h
diff -u php4/ext/fbsql/php_fbsql.h:1.1 php4/ext/fbsql/php_fbsql.h:1.2
--- php4/ext/fbsql/php
In article <9afah8$8d3$[EMAIL PROTECTED]>,
[EMAIL PROTECTED] ("Mike") wrote:
> I'm trying to use html "include" syntax in a php page.If I use .shtml the
> php gets ignored .If I use php the the
> php gets ignored.Is there a way of doing this without using the php include
> function?
http://www
Can anyone help me?
Today I was informed that the backend for my project will not be MySQL, but MSSQL 7.0.
No problems, I said, but after porting database from MySQL to MSSQL I find that the
UPDATE statement doesn't work. Strange is that INSERT statement in a php query does
not work second time
arg - i' at wits end. i need to parse a text file into a mysql insert
statement. the statement isn't the problem its parsing the text
file. heres a sample of the file
West Chesterfield
(603) 256-8278 V.90
(603) 307-2100 V.90 & K56flex
(603) 307-2200 ISDN / DOV
Hinsdale336
West Chesterfield25
In article <9afjqr$cn1$[EMAIL PROTECTED]>, [EMAIL PROTECTED] ("Jon")
wrote:
> I am searching for a POP function that let me calculate for example the MOD
> of dividing a number between 2 so as to know whether this number is pair o
> unpair. I have been looking throguh the section of mathematica
try:
$matches[1]";
?>
Morgan
At 01:26 PM 4/4/2001, you wrote:
>How would i go about building a page which could use the name of the page
>less .php as a variable.
>For example:
>
>Say I have a file called screenshot_1.php and another called
>screenshot_2.php . Inside each of those files I wan
Not sure what kind of network you're on, but I've had the exact opposite
experience.
The new design is easier on the eyes, but also much more lightweight, meaning
much quicker downloads. Especially if using NS - I couldn't look up any
function
in under 10 seconds before. Now it's normally <3.
"Matt Friedman" <[EMAIL PROTECTED]> wrote:
> I don't know about everyone else but I've found that since the changeover
to
> the new design of the php.net site, it's been very unreliable.
It's worked fine for me, but maybe I'm not accessing it at the right...I
mean wrong times.
> How about a down
"Data Driven Design" <[EMAIL PROTECTED]> wrote:
> I've noticed that and had to rewrite several scripts when hosts upgraded
> from PHP3 to PHP4. $HTTP_POST_VARS is considered set even when it is
empty.
For those that can't guess the solution to this problem I suspect this will
do the trick:
! emp
I don't know about everyone else but I've found that since the changeover to
the new design of the php.net site, it's been very unreliable.
I used to be able to look up a function in seconds if I didn't quite
remember the usage. Now, I find that the doesn't won't even come up at
times.
Other tim
Something like this would work ...
let's say your path is http://www.server.com/images/screenshot_1.php
That should do it just fine I might be off on my commas
On Wed, Apr 04, 2001 at 01:26:27PM -0500, Michael Roark wrote:
> How would i go about building a page which could use the name
How would i go about building a page which could use the name of the page
less .php as a variable.
For example:
Say I have a file called screenshot_1.php and another called
screenshot_2.php . Inside each of those files I want to have code which
will take the name of the file from the url and a
on 4/4/01 5:14 PM, Data Driven Design at [EMAIL PROTECTED] wrote:
> I've noticed that and had to rewrite several scripts when hosts upgraded
> from PHP3 to PHP4. $HTTP_POST_VARS is considered set even when it is empty.
i have also noticed this. we run 4.0.3pl1 here.
have a great day
andy
--
In article <81A3043681E6824EBE672F7421C30E7E2A19A7
@SRVTORONTO.RAND.COM>, [EMAIL PROTECTED] says...
}if (isset ($HTTP_POST_VARS)){
} echo "Http Post Vars Set";
Remember, just because a variable is "set", it doesn't imply that the
variable has any data stored in it. In this case, while the
I've noticed that and had to rewrite several scripts when hosts upgraded
from PHP3 to PHP4. $HTTP_POST_VARS is considered set even when it is empty.
Data Driven Design
P.O. Box 1084
Holly Hill, FL 32125-1084
http://www.datadrivendesign.com
http://www.rossidesigns.net
- Original Message -
See the "switch" statement.
http://www.php.net/manual/en/control-structures.switch.php
Kirk
> -Original Message-
> From: Allen May [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, April 04, 2001 12:07 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Select case equivelent
>
>
> I have a list
Yeah, same here
-Original Message-
From: B. van Ouwerkerk [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 04, 2001 10:44 AM
To: [EMAIL PROTECTED]
Subject: [PHP] stop these solfix.net messages
Hi,
How about these messages from solfix.net What have I done to deserve
these..
Ever
switch ($i) {
case 0:
print "i equals 0";
break;
case 1:
print "i equals 1";
break;
case 2:
print "i equals 2";
break;
}
- Original Message -
From: "Allen May" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, April
> >- I
> >know using relays to distribute spam isn't legal, but what about lists?
>
> Most listsoftware (as far as I know) will allow the admin to block
> non-members from sending to a list.. Not completely foolproof.. but it can
> be much help.. certainly if you can add a blacklist to prevent
I have a list of conditions I want to test against.
In ASP, I would do:
Select Case foo
case "bar1"
foobar = "fooey"
case "bar2"
foobar = "fooey2"
case "bar3"
foobar = "fooey3"
case else
foobar = "NoBar"
End Select
How do I do the equivelent in PHP?
>- I
>know using relays to distribute spam isn't legal, but what about lists?
Most listsoftware (as far as I know) will allow the admin to block
non-members from sending to a list.. Not completely foolproof.. but it can
be much help.. certainly if you can add a blacklist to prevent these
spam
There seems to be a bug in php 4.0.4pl1, would someone please verify
this script below. If you paste this script into a file called bug.php and
you just call it you will see "Http post Vars Set". However you will not
find that variable it in the output of PHPINFO. I tried this under
ph
I'm in the habit of putting all my form variables into an array (ie:
) so
that I have a nice little package to pass to functions. My question is can you
put files into those as well? If so how does it handle the $file_name and
$file_size variables PHP creates?
--Joe
/**
On 4/4/2001 1:32 PM this was written:
>
> If you're using PHP, you're already a winner (in my book anyway!)
>
LOL
--
Thomas Deliduka
IT Manager
-
New Eve Media
The Solution To Your Internet Angst
http://www.neweve.com/
--
PHP General Mailing List (http://www.
At 03:19 PM 4/4/01 +, you wrote:
>Scott Walter wrote:
>
>Well; PHP is server-side, so without resubmitting the form you won't
>be able to do this using PHP. That's why JavaScript is available. At
>this time I don't have enough time to explain exactly how to do
>this, but JS is the way for this
On Wednesday 04 April 2001 17:08, you wrote:
> I'm trying to use html "include" syntax in a php page.If I use .shtml
> the php gets ignored .If I use php the the php gets ignored.Is there a way of doing this without using the
> php include function?
> Thanks
Stop resubmitting this every few minu
If you're using PHP, you're already a winner (in my book anyway!)
:)
Phillip Bow wrote:
> Aww shoot. How am I supposed to win now? :)
> --
> phill
>
> "Rasmus Lerdorf" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > Done. Anything from mail.thecasin
1 - 100 of 212 matches
Mail list logo