On Monday 17 March 2003 20:12, Guram Mosashvili wrote:
Hi List,
I have problem with instalation of PHP4 on my LINUX APACHE MySQL server.
when I did: ./configure --with-apxs=/server/apache/bin/apxs
I got error message:
-
configure error: Sorry I cannot run apxs.Either you need to
I'm not sure why, but I can't include a period in my eregi statement:
[A-Za-z0-9_-.]*
For this, I get Warning: ereg() [function.ereg]: REG_ERANGE in
/home/website/public_html/Functions.inc on line 27
The same goes for [A-Za-z0-9_-\.]*
Anyone know why?
try two backslashes to escape php special characters
- Original Message -
From: Liam Gibbs [EMAIL PROTECTED]
To: php list [EMAIL PROTECTED]
Sent: Tuesday, March 18, 2003 12:33 AM
Subject: [PHP] Ereg sass
I'm not sure why, but I can't include a period in my eregi statement:
try two backslashes to escape php special characters
Tried that with the same result.
I'm not sure why, but I can't include a period in my eregi statement:
[A-Za-z0-9_-.]*
For this, I get Warning: ereg() [function.ereg]: REG_ERANGE in
/home/website/public_html/Functions.inc on line 27
Guys I really need your help. How do I restrict users from changing data in
a textarea? I need to display data on a page so that users can edit it and
update the database. With the help of this mailing list I got it going but
now I am running into walls. Some of the data is sensitive and can't be
Hi,
use
input type=hidden name=name value=your sensitve data
for transporting sensitive data.
regards,
Christian
-Original Message-
From: Mirco Ellis [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 18, 2003 10:06 AM
To: Php-General (E-mail)
Subject: [PHP] (newbie)textareas
I've written a tutorial on my site about this subject. You can find it here:
http://www.flipis.net/tutoriales/php_myaccess.php
It's in spanish, though
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Try
[A-Za-z0-9_\-\.]*
-Original Message-
From: Liam Gibbs [mailto:[EMAIL PROTECTED]
Sent: 18 March 2003 08:52
To: php list
Subject: Re: [PHP] Ereg sass[Scanned]
try two backslashes to escape php special characters
Tried that with the same result.
I'm not sure why, but I can't
It's seeing the - as a range identifier, escape it to get the literal hyphen.
How about this:
[a-zA-Z0-9_\-.]*
In my tests, the period didn't need to be escaped with the \.
HTH,
Jason k Larson
Liam Gibbs wrote:
I'm not sure why, but I can't include a period in my eregi statement:
On Tuesday 18 March 2003 17:24, Christian Rosentreter wrote:
use
input type=hidden name=name value=your sensitve data
for transporting sensitive data.
That is not secure at all.
can edit it and
update the database.
now I am running into walls. Some of the data is sensitive
and
Do not echo $query or any output before session_start(); or
session_register(xxx); (mean headers)
//echo $query
Or may be you can put ob_start(); before first output and put
ob_end_flush(); after last headers
ob_start();
echo $query
.
.
//your code.
.
.
session_register(ses_level);
Stephen wrote:
I am trying to get mail working with my php setup. I have an exchange
server that I want to send mail to but I get the error
Warning: mail() [function.mail]: SMTP server response: 550 5.7.1 Unable to
relay for [EMAIL PROTECTED] in
I have setup SMTP = my server address and
Dear All,
I have stream data encrypted BASE64. My problem is that I must decode
this BASE64 to 8-bit unsigned array and I don't know how :( Have a
native possibility in PHP for making this or not? Have a somebody who
know, where I can find more info for this? Site, pdf, link
10x in
You mean encoded base64 stream data, right? Anyway, can you give us an example of the base64
data? PHP does have native support to encode/decode base64 data. However you're losing me with
the decode to an 8-bit unsigned array request. This might very well just be the decoded
base64 value
I have a simple php download script that streams a non-web-accessible file
to the browser using this generally accepted method:
header(Expires: 0);
header(Cache-Control: private);
header(Content-Type: application/save);
header(Content-Length:
Is there a way to disable the call back function set by ob_start?
I tried:
ob_end_flush();
ob_end_clean();
ob_implicit_flush(true);
Nothing seams to work. I can't detect the call back function and I can't
prevent it either. The call back function is called no matter what!
Michael
--
PHP
At 10:36 18.03.2003, Jason k Larson said:
[snip]
It's seeing the - as a range identifier, escape it to get the literal hyphen.
How about this:
[a-zA-Z0-9_\-.]*
In my tests, the period didn't need to be escaped with the \.
You can put READONLY in your TEXTAREA tag
Coert Metz
Mirco Ellis wrote:
Hi all,
I have a app that enables the user to call data out of a mysql database into
textareas. They can then edit the data and update the database. There is one
field that I whant to stop them from changing. This field I
At 11:16 18.03.2003, Kevin Kaiser said:
[snip]
I have a simple php download script that streams a
non-web-accessible file
to the browser using this generally accepted method:
header(Expires: 0);
header(Cache-Control: private);
Hi Coert,
There is one field that I whant to stop them from changing
You can put READONLY in your TEXTAREA tag
While this would probably keep the honest people honest (assuming it's
supported across all browsers), it won't stop anyone who wants to pollute
the database. What's to stop
php-general Digest 18 Mar 2003 10:42:23 - Issue 1945
Topics (messages 140049 through 140100):
Session problem
140049 by: shaun
140052 by: Pete James
140057 by: shaun
140091 by: Paonarong Buachaiyo
One set of php for multiple subdomains
140050 by:
At 11:42 18.03.2003, Jon Haworth said:
[snip]
... Good programmers look both ways before crossing
one-way streets.
[snip]
I like that one. The US administration should have some good programmers
hired then, I
Guys thanks for your help on this matter. Luckily this is all I need. It is
on an internal lan and won't be available to the public although it does
raise an interesting discussion. I would have been lost without you blokes.
Thanks a million
Mirco Ellis
-Original Message-
From: Coert
this is an sql syntax question and i know it's not appropriate for this
mailing list, but i didn't want to subscribe to another mailing list for
something i think one of you might be able help me with. thank you for your
patience.
i'm building a site utilizing PHP/MySQL. i'm querying a table
At 06:04 18-3-03 -0500, Jason Paschal wrote:
this is an sql syntax question and i know it's not appropriate for this
mailing list, but i didn't want to subscribe to another mailing list for
something i think one of you might be able help me with. thank you for
your patience.
i'm building a
At 06:04 18-3-03 -0500, Jason Paschal wrote:
this is an sql syntax question and i know it's not appropriate for this
mailing list, but i didn't want to subscribe to another mailing list for
something i think one of you might be able help me with. thank you for
your patience.
i'm building a
Hi Jason,
$sql = select * from table where age=$age1 and age=$age2;
what if i don't know which is value is greater, age1 or age2?
PHP has a couple of handy functions for this: min() and max()
$min = min($age1, $age2); // get smallest of two values
$max = max($age1, $age2); // get largest of
The problem must certainly come from the register_global turn to off
Check this value in your php.ini file
Samug [EMAIL PROTECTED] a écrit dans le message de news:
[EMAIL PROTECTED]
No it's not.
It's a script called LinksCaffe
http://www.hotscripts.com/cgi-bin/dload.cgi?ID=15062.
In file
If you want to look for a dash (-), you always place it last in the
brackets, other wise the regex machine will be looking for a range. So just
move the - to the last character.
[A-Za-z0-9_.-]*
---John Holmes...
- Original Message -
From: Liam Gibbs [EMAIL PROTECTED]
To: php list [EMAIL
I have an associative like array[name]=hello;
I am trying to get two random values from the array, the key name and the value, but
using the codes below from the PHP manual i am getting the inex key value rather than
the name.
$rand_keys = array_rand ($input, 2);
print $input[$rand_keys[0]].\n;
At 12:40 18.03.2003, Awlad Hussain said:
[snip]
I have an associative like array[name]=hello;
I am trying to get two random values from the array, the key name and the
value, but using the codes below from the PHP manual i am getting the inex
key value
Thanks for your reply, I now have only the keys but I need both keys and the
value.
??
any suggestions?
- Original Message -
From: Ernest E Vogelsinger [EMAIL PROTECTED]
To: Awlad Hussain [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, March 18, 2003 11:45 AM
Subject: Re: [PHP]
At 12:48 18.03.2003, Awlad Hussain said:
[snip]
Thanks for your reply, I now have only the keys but I need both keys and the
value.
[snip]
But you can get the value if you have the keys, no?
--
O Ernest E.
Yes, my apologies. I call the script by scriptname.php?MasterPage=1 or
2 or whatever...
-Original Message-
From: Erik Price [mailto:[EMAIL PROTECTED]
Sent: Monday, March 17, 2003 4:45 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Loop Problem
[EMAIL PROTECTED]
I have spent 3 days looking at various CMS and template systems and seem to
be getting nowhere.
I have looked at smarty, webditpro, phpcms, typo3, phportal, sitemanager,
phpnuke, easysite and many others and clever and comprehensive as many of
them are they seem too complicated for my needs.
Radu --
...and then Radu Manole said...
%
% Hi guys,
Hi!
%
% I have 2 scripts located in a directory and 3 dirs with 3 subdomain.
% Something like this.
%
% /scripts
% - input.php
% - output.php
OK...
%
% /user1 - subdomain user1.mysite.com
% /user2 - subdomain
I can't see mysql_fetch_row() function anywhere in your code.
Sebastian wrote:
i have two scripts included into one page, one of them i have been running
for a long time .. i recently made another script and when i include it into
the same page the other script returns this error:
Warning:
is there any possibility using PHP 4 to store entire files as a database
field in a MySQL database?
and if so, does anybody know a way, or a tutorial describing this?
thanks
michiel
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Ok, I hope this makes sense,
When a user 'registers' with our site, I want to generate their personal
webpage for them. Currently, I have a webpage where the contents are
generated from their personal info in the db and I have a drop down to view
client pages but it is just the same page but I
Hi,
Using the following code I am able to authenticate which type of user is
visiting my page, however if I try to log in again with a different type of
user the session variables still assume that the original user was logged
in, is there a way to reset the session variables, I have tried
[EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]
Should I just do this myself ?
I do not think you will find something allready done, so probably you would
need to wrap something yourself. Some template system will propably come
handy though
rush
--
http://www.templatetamer.com/
--
At 23:43 17.03.2003, Radu Manole said:
[snip]
Hi guys,
I have 2 scripts located in a directory and 3 dirs with 3 subdomain.
Something like this.
/scripts
- input.php
- output.php
/user1 - subdomain user1.mysite.com
/user2 - subdomain
At 14:38 18.03.2003, Edward Peloke said:
[snip]
When a user 'registers' with our site, I want to generate their personal
webpage for them. Currently, I have a webpage where the contents are
generated from their personal info in the db and I have a drop down
Thanks Jason.
I was hoping that was what was happening.
Happy php'ing
--Noah
- Original Message -
From: Jason Sheets [EMAIL PROTECTED]
To: Don Read [EMAIL PROTECTED]
Cc: CF High [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Saturday, March 15, 2003 8:46 PM
Subject: RE: [PHP] Performance
thanks, not sure how to do either of these...but I will look them up.
-Original Message-
From: Ernest E Vogelsinger [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 18, 2003 9:14 AM
To: Edward Peloke
Cc: [EMAIL PROTECTED] Php. Net
Subject: Re: [PHP] what's the best way to handle this?
At
What does the mailing list digest contain, compared to a normal
subscription? What is the difference?
--
Tom Sommer, Denmark
www.tsn.dk - www.dreamcoder.dk
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
At 14:38 18-3-03, you wrote:
Ok, I hope this makes sense,
When a user 'registers' with our site, I want to generate their personal
webpage for them. Currently, I have a webpage where the contents are
generated from their personal info in the db and I have a drop down to view
client pages but it
On Tuesday 18 March 2003 21:25, Michiel van Heusden wrote:
is there any possibility using PHP 4 to store entire files as a database
field in a MySQL database?
and if so, does anybody know a way, or a tutorial describing this?
google mysql store files
--
Jason Wong - Gremlins Associates -
I forgot to mention, you may need to finetune this: not every server gives
exactly the same $SERVER values.
When default is reached, the url is really wrong and you give them a nice
scowling in the 404.html file.
(A nice suggestion: HEY You dumb pi3ce of sh1t3! Learn to
type!
Do you plan on attending the first MySQL Users Conference to be held
next month in San Jose, Calif?
Our company is one of the sponsors for this event and we very much
look forward to meeting many of you.
If you haven't already registered for this important event, we
strongly encourage you to
I have a file that draws charts, called chart.php.
Right now, I can call it using GET methods inside IMG tags
IMG src=chart.php?foo=bar
Well, I'd like to be able to wrap it in a function, and call it via a
function
drawgraph();
and by GET syntax
IMG
Daniel McCullough wrote:
Yes sorry for not being clear. I am trying to use exec() and system().
I guess I'm trying to see if there is another way to do it, like write
to a file and have acron job run every minute or so, or if there is some
way to make it seem like I am doing this with the
Hello,
We have a free but still complicated solution for your needs.
It's called Komplete Lite (the free version of one of our commercial
products) and it allows you to visually edit your menu and page content.
See the demo of the full version at http://komplete.interakt.ro/
Hi All,
I have a text file that has entries like the following:
user1:mbox1:
user1:mbox2:
I basically do: $mboxs = `cat file | grep user1 | cut -d: -f2';
I then want to print out the data in the $mboxs variable (array)
I am trying to use foreach but it does not work.. I am assuming the
--- shaun [EMAIL PROTECTED] wrote:
Using the following code I am able to authenticate which type of user is
visiting my page, however if I try to log in again with a different type of
user the session variables still assume that the original user was logged
in, is there a way to reset the
You need to split() the variable ($mboxs) on newlines \n
Jim
- Original Message -
From: Jim Greene [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, March 18, 2003 8:22 AM
Subject: [PHP] Question about a text file and foreach
Hi All,
I have a text file that has entries like the
Jim Greene wrote:
Hi All,
I have a text file that has entries like the following:
user1:mbox1:
user1:mbox2:
I basically do: $mboxs = `cat file | grep user1 | cut -d: -f2';
I then want to print out the data in the $mboxs variable (array)
I am trying to use foreach but it does not work..
When a user 'registers' with our site, I want to generate their personal
webpage for them. Currently, I have a webpage where the contents are
generated from their personal info in the db and I have a drop down to
view
client pages but it is just the same page but I pass in the clientid so it
I have recently made a server on FreeBSD. I've run into 2 problems.
1. I cant get PHP to compile with mysql
2. I can use mysql in PHP, but if i use phpMyAdmin, with user/pass...I
ALWAYS get No databases. If i do user/no pass, it works.
wth?
--
PHP General Mailing List (http://www.php.net/)
Jim --
Please don't hijack threads. This message has nothing to do with calling
a function in a page via GET. When you wish to ask a fewsh and unrelated
question, please send a fresh and unrelated message. [I keep hearing
good things about Evolution. Doesn't it have decent threading?]
...and
I found a class that allows you to have a multiple page listing, where
it displays a certain number of items, and then you click on the next
page to show the next results. I found that it needs to have
register_globals turned on. I am learning, and would like to have
someone look at the class
I found a class that allows you to have a multiple page listing, where
it displays a certain number of items, and then you click on the next
page to show the next results. I found that it needs to have
register_globals turned on. I am learning, and would like to have
someone look at the class
Not built in, that would be a HORRIBLE security risk. You can try
something like this (untested):
call_user_func_array($_GET['func'],$_GET['params']);
Then use it like
myscript.php?func=somefunctionparams[]=fooparams[]=bar, which would be
the same as calling somefunction('foo','bar');
Hi list,
I have a problem with openssl_pkey_get_private which shows up like:
-BEGIN Test-Script-
?PHP
$fp = fopen( ../signkeys/fp3-cert.pem, r );
$pubkey = fread( $fp, 65000 );
fclose( $fp );
$fp = fopen( ../signkeys/fp3-privkey.pem, r );
$privkey = fread( $fp, 65000 );
fclose( $fp );
Well, I know it has something to do with register_globals, because it
only starts working when I turn register_globals on. If it is off, the
script doesn't work.
Here is the php file that calls to the class. It doesn't seem to have
anything that is global, but as I said before, I am not very
hi everyone
any one here know where can i get an tutorial of php who explin detailded . how to
upload files by php
i been read the php manual but i need one tutorial who explained to me by more
examples couse i cant upload the files
thanks anyway
;-)
Hi,
I am looking for a simple authentication script that uses MySQL. I have
downloaded about 10 of them (most with no instructions on it's use), but
even at that they are not what I need.
When you go to the main page of my site it will ask you to login or signup.
So I want to be able to
On Mon, 17 Mar 2003 05:40:05 -0800 (PST), Rasmus Lerdorf wrote about Re:
[PHP] Getting false positive on strpos ... despite doublecheck... HELP!
what the universal translator turned into this:
case strpos($line,#date:) == 0 strpos($line,#date:) !== false:
You can just do a === 0 check
Hello!
I would appreciate if anybody could tell me how to use an utf8 encoded
string in a regular expression.
I have tried this
$string = a username written in greek letters;
preg_match('#^[\w][\w0-9_]{2,39}$#', $string);
Which does not work, i have also tried to utf8_decode the string and
Beauford.2002 wrote:
I am looking for a simple authentication script that uses MySQL. I have
downloaded about 10 of them (most with no instructions on it's use), but
even at that they are not what I need.
The PEAR project has 7 different authentication packages, including Auth
which I
Do they cause the same behaviour as an if ... elseif structure???
Yes, continue simply discards the rest of the statements inside a loop and
goes to the next iteration.
-Rasmus
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
the error is being returned by the other script that is being included into
the same page .. but its the code below that is causing the other to give
the error, and i cannot figure out why.
- Original Message -
From: Marek Kilimajer [EMAIL PROTECTED]
| I can't see mysql_fetch_row()
On Mon, 17 Mar 2003 13:14:46 -0700, Kevin Stone wrote about Re: [PHP]
Getting false positive on strpos ... despite doublecheck... HELP! what
the universal translator turned into this:
It interprets the text correctly 100%, BUT I get a false positive date
check at the end of the file, which
On Tue, 18 Mar 2003 01:50:57 -0800 (PST), Rasmus Lerdorf wrote about Re:
[PHP] Getting false positive on strpos ... despite doublecheck... HELP!
what the universal translator turned into this:
Do they cause the same behaviour as an if ... elseif structure???
Yes, continue simply discards the
Chris Shiflett [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
--- shaun [EMAIL PROTECTED] wrote:
Using the following code I am able to authenticate which type of user is
visiting my page, however if I try to log in again with a different type
of
user the session variables still
why are you using mysql_connect in this function?
where are $hostname,$username,$password and $database coming from?
Sebastian wrote:
the error is being returned by the other script that is being included into
the same page .. but its the code below that is causing the other to give
the error,
I am calculating distances between to record's zip codes using php and have
a need to sort the recordset by that value. How do I do something like this?
I mean it's not a value in the table that I can use the SQL ORDER BY
statement. I want to be able to have the distances closest to the individual
use:
$_SESSION['ses_name'] = 'something';
$_SESSION['ses_pass'] = 'something';
$_SESSION['ses_level'] = 'something';
instead of:
session_register(ses_name);
session_register(ses_pass);
session_register(ses_level);
All $_SESSION entries are automatically registered.
See the following for more
--- shaun [EMAIL PROTECTED] wrote:
...
$ses_name = $suser_name;
$ses_pass = $suser_password;
$ses_level = $stype_level;
session_register(ses_name);
session_register(ses_pass);
session_register(ses_level);
This is the moment where you lose your new
Vernon wrote:
I am calculating distances between to record's zip codes using php and have
a need to sort the recordset by that value. How do I do something like this?
I mean it's not a value in the table that I can use the SQL ORDER BY
statement. I want to be able to have the distances closest
Hi all.. I'm trying to connect MSSQL2000 Personal Edition from PHP and
all I'm getting is Call to undefined function: mssql_pconnect() error..
I have installed PHP4.2.2-4, mod_php-4.2.2, php_devel-4.2.2,
freetds0.53-4, php-sybase-ct-4.2.2, I think I also have php_ldap and
php_imap.. restarted
When you say using php I'm assuming that this means you are not doing
the calculation at the database, but rather in your PHP code.
Correct.
Use the distance you've calculated as the numeric index of an array,
pointing to
the record that corresponds to that distance.
Can you please expalin
Thanks for the informative response, Don.
While a few microseconds saved isn't much, the example I gave was not the
real_world situation we're actually dealing with.
We're looping through a roster list of players (e.g. a soccer team) with a
minimum of twenty players on a team. When filling out
Vernon wrote:
Use the distance you've calculated as the numeric index of an array,
pointing to
the record that corresponds to that distance.
Can you please expalin this statement? Perhaps a tutorial somewhere?
I could explain it better if you could post the code that you have so
far which
i have changed the code to:
Olinux [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
use:
$_SESSION['ses_name'] = 'something';
$_SESSION['ses_pass'] = 'something';
$_SESSION['ses_level'] = 'something';
instead of:
session_register(ses_name);
session_register(ses_pass);
Hello,
I have gotten used to using .htaccess to protect files/directories, but
now I am looking at a need to authenticate against mysql. I have no
problem actually getting it to authenticate, but I'm wondering what the
simplest way to prevent someone from hitting anything other than the main
page
i have changed the code to:
//register the session variables
$_SESSION['ses_name'] = mysql_result($result, 0, User_Name);
$_SESSION['ses_pass'] = mysql_result($result, 0, User_Password);
$_SESSION['ses_level'] = mysql_result($result, 0, User_Type);
but if i try to log in again the session
Hey all.
I was under the impression that PHP processes all php code first before
handing HTML processing over to the browser.
It seems that if you call an external function that, say, queries your db
for data and spits out populated formfields, the function is processed
somehow simultaneously
Bryan Koschmann - GKT wrote:
Hello,
I have gotten used to using .htaccess to protect files/directories, but
now I am looking at a need to authenticate against mysql. I have no
problem actually getting it to authenticate, but I'm wondering what the
simplest way to prevent someone from hitting
CF High wrote:
Hey all.
I was under the impression that PHP processes all php code first before
handing HTML processing over to the browser.
http://www.php.net/manual/en/ref.outcontrol.php
Erik
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
It is sent twice a day and contains all of the messages sent during that
period. It's so that you don't get 200+ messages a day in your inbox.
Tom Sommer wrote:
What does the mailing list digest contain, compared to a normal
subscription? What is the difference?
--
PHP General Mailing List
What is the expected return when using strtr() to compare a string to
an empty string?
example:
$myval = strstr('bob', '');
Thanks,
Charles
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Is it just as quick to do:
if($r == 0) {
} else if($r != 0) {
}
than to do:
if($r == 0) {
} else {
}
The reason I like the former method is because, in a large IF-ELSE block, it's clear
what belongs to what IF and what's going on. But does this make it lag? And, if so, is
it really all that
On Tue, 18 Mar 2003 13:44:25 -0500, Miro Kralovic wrote about [PHP] Call
to undefined function: mssql_pconnect() what the universal translator
turned into this:
Hi all.. I'm trying to connect MSSQL2000 Personal Edition from PHP and
all I'm getting is Call to undefined function: mssql_pconnect()
vernon wrote:
I think that maybe I should explain the fist Zip comes from a session, here
I've defined the variable. I use the caluation in the code to get the
distance and then loop the recordset so that the distance is created each
time the record loops through. I have taken many things
Hello all,
I installed PHP, Apache and MySQL. I read the install.txt file that came
with php and changed the default values in php.ini and httpd.conf. When I
restart Apache and type my local website (127.0.0.1/index.php) IE comes with
a 'Save file As' dialog box.
Instead of parsing the php code
My wife is a designer, not a technical person. She is learning Flash and
she needs a book to learn and learn quickly how to do some things like click
actions for a project.
Can someone please give me an idea of 2-3 good flash books.
Get Foundation Flash MX and Foundation Actionscript from friends of ed.
These are the best for learning Flash.
www.friendsofed.com
Clint
-Original Message-
From: Daniel McCullough [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 18, 2003 2:05 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Flash
Logically the if-else construct is faster becuase PHP doesn't have to parse
and execute the second conditional. An if-elseif construct is ussually
followed by an else block to describe a default action if no other
conditions are true. Otherwise you may as well use sequential if()
statements
Is it just as quick to do:
if($r == 0) {
} else if($r != 0) {
}
than to do:
if($r == 0) {
} else {
}
The reason I like the former method is because, in a large IF-ELSE
block, it's clear what belongs to what IF and what's going on. But does
this make it lag? And, if so, is it really
1 - 100 of 180 matches
Mail list logo