Hi,
Do you mean that I would have a different ID no. for different pages and
pass that variable to the 'email this page' page which will then send the
url according to the ID number? If that's what you mean it sounds like a
good idea, but unfortunately as this site has lots of dynamic URLs this
w
Hi List,
Is there a simple solution for two or more people to work on the same php
app /script without it turning into a mess of many tar / zip files with
contributed additions.
I want to keep it all in house, I have my own publicly available web server
if that helps, so none of the online dev op
There's a simple one abbreviation answer
CVS.
It's probably the widest used version control system in the world, and
is integrated into XCode (if you are a Mac PHP developer).
On 30 Sep 2004, at 10:24, Dave Carrera wrote:
Hi List,
Is there a simple solution for two or more people to work on the s
Hi all
I have a string: ##CODE## and I want to replace that with CODE
can u help?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Well, if you can do it without a regex, then it's always best, because
the regex engine slows things down.
On 30 Sep 2004, at 10:39, mario wrote:
Hi all
I have a string: ##CODE## and I want to replace that with CODE
can u help?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, vis
--- Dave Carrera <[EMAIL PROTECTED]> wrote:
> Is there a simple solution for two or more people to work on the
> same php app /script without it turning into a mess of many tar /
> zip files with contributed additions.
Any version control system that supports concurrent development will work
for t
Howdy
Is there a time convertor written in php?
I mean to convert a specific hour/date in all world countries.
If you can change the ##text## to say /#text#/ it would be easier as you
could then do something like:
$id = substr($orig_text,strpos($orig_text, '/#')+2,strpos($orig_text,
'#/')-1);
$new_text = str_replace( '/#', 'href="somewhere.php?id='.$id.'">',
$orig_text);
$new_text = str_replace( '#/', '',
Hello,
I have a didecated server (linux redhat + apache 1.31.x and PHP 4.3.x).
I'd like for a specific virualhost, set the include_path and safe_mode
To do that, I did :
.
php_admin_value safe_mode on
php_admin_value include_path ".:/design:/home:/manager:/login:/style"
Then I make 2 tes
Phpu wrote:
Howdy
Is there a time convertor written in php?
I mean to convert a specific hour/date in all world countries.
convert... in what way??
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Christian Ista wrote:
Hello,
I have a didecated server (linux redhat + apache 1.31.x and PHP 4.3.x).
I'd like for a specific virualhost, set the include_path and safe_mode
To do that, I did :
.
php_admin_value safe_mode on
php_admin_value include_path ".:/design:/home:/manager:/login:/style"
I'm assuimg you mean you have a time in GMT such as 1:00am and want to
convert it to GMT+10 where it would be 11AM?
On Thu, 30 Sep 2004 12:19:43 +0300, Phpu <[EMAIL PROTECTED]> wrote:
> Howdy
>
> Is there a time convertor written in php?
> I mean to convert a specific hour/date in all world count
Well, I believe you can take a timestamp and use the date() function
to display it in a different timezone. I dont know the specifics as
it's been a while since I last did it.
On Thu, 30 Sep 2004 14:36:21 +0300, Phpu <[EMAIL PROTECTED]> wrote:
> Yes, in this way i want to convert but i have some
I use Subversion for that ... similar to CVS, but with new and
interesting features and really easy to setup in any platform. But you
can use any System to control versions and provide access to it to all
developers.
You can get Subversion at http://subversion.tigris.org/
Regards,
Jordi.
On Thu,
how to make my page refresh automaticly?
Can i use PHP function?
what is it?
-
Do you Yahoo!?
vote.yahoo.com - Register online to vote today!
[snip]
how to make my page refresh automaticly?
Can i use PHP function?
what is it?
[/snip]
You cannot do it with PHP, you use a meta refresh tag
(http://www.w3.org)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Jay Blanchard wrote:
[snip]
how to make my page refresh automaticly?
Can i use PHP function?
what is it?
[/snip]
You cannot do it with PHP, you use a meta refresh tag
(http://www.w3.org)
Or header refresh
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/un
Try header();
On 30 Sep 2004, at 14:09, welly limston wrote:
how to make my page refresh automaticly?
Can i use PHP function?
what is it?
-
Do you Yahoo!?
vote.yahoo.com - Register online to vote today!
--
PHP General Mailing List (http://www.php.net
one of the Israel company say thanks .
the another from an arabs country (UAE) make fun of my write .
what an unbelievable thing .
On Thu, 30 Sep 2004 09:34:11 +0400, M Saleh EG <[EMAIL PROTECTED]> wrote:
> God help arabs if they release books that easily ! n specialy from a
> person who failed
Can anyone tell me how secure a session variable is. I realize that if
someone wanted to take the time to break into my site they will eventually
succeed, but I dont want to make it too easy. I have a database that stores
a username and an encrypted password which both are verifyed when the us
The first thing to do is to set your scripts to not allow session
handling to be carried out through the URL if a person's browser won't
accept cookies. It would be way too easy to change the ID. And also if
the id numbers are sequential, you might also want to have a second,
random identifier that
> Can anyone tell me how secure a session variable is. I realize that if
> someone wanted to take the time to break into my site they will eventually
> succeed, but I dont want to make it too easy. I have a database that stores
> a username and an encrypted password which both are verifyed when t
Howdy,
Check out the Date PEAR package,
http://pear.php.net/package/Date
--
Regards,
Matthew Fonda
On Thu, 2004-09-30 at 02:19, Phpu wrote:
> Howdy
>
> Is there a time convertor written in php?
> I mean to convert a specific hour/date in all world countries.
--
PHP General Mailing List (http
Ave,
I'm facing a little problem.
I have this code which enables me to attach a file and send the file as an
attachment with the Mail.
What I need to do is slightly different.
Firstly, I want to send 2 files as attachment, and not one. Secondly, I
don't want the user to select & attach the file,
CVS is definitely something to check into. In addition to the Mac
product mentioned before, Zend Studio and many other IDEs and editors
have CVS compatibility built into them.
CVS is similar to (but of course has differences to) Microsoft's Source
Safe, if you're familiar with that product. (yeah
I haven't done the exam, yet, but based on some of the practice
questions, I'm getting worried. I'm finding sample questions whose
answers are not covered in the book. One such question was a list(,
$var) = whatever, and nowhere in the book could I find an explanation
for same.
I've also used coun
> I'm glad to hear that, cause some of them did seem a bit difficult. I
> understood perfectly after seeing the correct answer and the
> explanation, but they were a little tricky.
I would be interested in feedback on the exam. I am looking into
taking the test, just hoping Zend runs the $100 d
Hello everyone,
I'm using cURL and have a question about this line (part of a function)
curl_setopt($ch, CURLOPT_PROXY, $proxy2use);
I know that *after* I curl_exec() i can find out if the proxy resolved
or not with curl_errno() (it would return 5) but it seems that if it
does fail to resolve,
Thank you,
Denise Holland
ITM - Network Support
703-358-1823
[EMAIL PROTECTED]
Thank you,
Denise Holland
ITM - Network Support
703-358-1823
[EMAIL PROTECTED]
__
Thank you,
Denise Holland
ITM - Network Support
703-358-1823
[EMAIL PROTECTED]
Thank you,
Denise Holland
ITM - Network Support
703-358-1823
[EMAIL PROTECTED]
__
Thank you,
Denise Holland
ITM - Network Support
703-358-1823
[EMAIL PROTECTED]
Thank you,
Denise Holland
ITM - Network Support
703-358-1823
[EMAIL PROTECTED]
__
Thank you,
Denise Holland
ITM - Network Support
703-358-1823
[EMAIL PROTECTED]
Thank you,
Denise Holland
ITM - Network Support
703-358-1823
[EMAIL PROTECTED]
__
Thank you,
Denise Holland
ITM - Network Support
703-358-1823
[EMAIL PROTECTED]
Thank you,
Denise Holland
ITM - Network Support
703-358-1823
[EMAIL PROTECTED]
__
Thank you,
Denise Holland
ITM - Network Support
703-358-1823
[EMAIL PROTECTED]
[snip]
Subject: [PHP]
UNSUBSCRIBE
Thank you,
Denise Holland
ITM - Network Support
703-358-1823
[EMAIL PROTECTED]
[/snip]
Oh goody! Hey Denise! Do you see that link at the bottom of the page
that looks like this?
--
PHP General Mailing List (ht
hey genius:
To unsubscribe, visit: http://www.php.net/unsub.php
- Original Message -
From: [EMAIL PROTECTED]
Date: Thursday, September 30, 2004 10:19 am
Subject: [PHP] UNSUBSCRIBE
> Thank you,
>
> Denise Holland
> ITM - Network Suppo
If you were smart enough to get yourself on the list, you should be
smart enough to get yourself off without inflicting yourself on the rest
of us. You work in "network support", ever hear about e-mail headers?
(clue for you)
On Thu, 2004-09-30 at 10:19, [EMAIL PROTECTED] wrote:
> Thank you,
>
[snip]
Thank you,
Denise Holland
ITM - Network Support
703-358-1823
[EMAIL PROTECTED]
[/snip]
What we appear to have here is a rocket scientist.
Are you going to keep sending this until you learn how to click the
link?
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP General Mailing L
stop sending this spam
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 30 September 2004 15:20
To: [EMAIL PROTECTED]
Subject: [PHP]
UNSUBSCRIBE
Thank you,
Denise Holland
ITM - Network Support
703-358-1823
[E
Odd stuff this morning.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Can we start mass flaming this guy? Ok one nice one...
http://www.php.net/mailing-lists.php
goto the bottom of the page and unsubscribe.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 30, 2004 10:20 AM
To: [EMAIL PROTECTED]
Subject: [PHP]
$var="##testcode##this is a ##code1## test of the ##code2## code
replacement system ##code3##";
$varParsed=strParse($var);
echo "$var";
echo $varParsed;
function strParse($origString)
{
while ( $offsetFALSE)
{
$tmpString=substr($origString, $lastEnd, $foundBeg-$lastEnd);
$tm
On Thursday 30 September 2004 10:18 am, [EMAIL PROTECTED] wrote:
> Thank you,
>
You can't expect that people in government know how to read! Much less think!
James
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
As the others said, this isn't a function of php, php is a server-side
script and a refresh is on the client side. A meta-refresh tag is
fine depending on how reliable you want your refresh to be as it'll
stop working after a day or so. If you need it to refresh forever
you'll need to use javascr
[EMAIL PROTECTED] wrote:
Thank you,
Denise Holland
ITM - Network Support
703-358-1823
[EMAIL PROTECTED]
No Denise, thank you. Thank you for not following clear instructions.
Thank you for spamming this list, because you fail to read. Thank you
for restoring my faith in the intelligence of our g
What an ass !
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Along with the other tips people gave, make sure that if you have
register globals turned on, do not ever reference a session variable
that way, always use $_SESSION
On Thu, 30 Sep 2004 08:39:42 -0400, Aaron Todd <[EMAIL PROTECTED]> wrote:
> Can anyone tell me how secure a session variable is. I
Jay Blanchard wrote:
Odd stuff this morning.
I think it's overloaded with unsubscribe requests.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
If you already resolve the proxy before the exec, just don't run the
exec if it doesn't resolve, and set the proxy to the ip it resolved to
so curl won't try to resolve it again.
On Thu, 30 Sep 2004 16:27:52 +0200, Nick Wilson <[EMAIL PROTECTED]> wrote:
> Hello everyone,
>
> I'm using cURL and h
[snip]
Can we start mass flaming this guy? Ok one nice one...
Denise Holland
ITM - Network Support
703-358-1823
[/snip]
I vote we all call her
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thank you all for the information... however at a second look I
realized that I failed to better describe my needs...
My current plan is to have a series of articles and information stored
in my database...
The table will have a ID, Title, Author, Image, Content, Date/Time
What I would like to h
Hi,
> > I have a string: ##CODE## and I want to replace that with > href="somewhere.php?id=CODE">CODE
I handle %code% tags in some templates I use... here's the code I have..
function show ($template, $tag) {
$file = fopen ($template, "r") or
die($error_
sheesh.. ok, who is going to sign that denise character back up to the
list :P
Jason
Marek Kilimajer <[EMAIL PROTECTED]> wrote:
>
> Jay Blanchard wrote:
> > Odd stuff this morning.
> >
>
> I think it's overloaded with unsubscribe requests.
>
> --
> PHP General Mailing List (http://www.php.ne
Is there any way you can use the numerical comparisons < or > to see if one
word comes first alphabetically to another ?
what can I use to see if
"oranges" comes after or before "apples" alphabetically for instance.
--
Diana Castillo
Global Reservas, S.L.
C/Granvia 22 dcdo 4-dcha
28013 Madrid-Sp
did anyone call?
On Thu, 30 Sep 2004 10:26:08 -0500, Jay Blanchard
<[EMAIL PROTECTED]> wrote:
> [snip]
> Can we start mass flaming this guy? Ok one nice one...
>
> Denise Holland
> ITM - Network Support
> 703-358-1823
> [/snip]
>
> I vote we all call her
>
>
>
> --
> PHP General Mailing
Great, I needed some humour today, thanks all :)
Graham
-Original Message-
From: Jay Blanchard [mailto:[EMAIL PROTECTED]
Sent: 30 September 2004 16:26
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: RE: [PHP]
UNSUBSCRIBE!
Hey
I'm building a webapp with tons of objects all over the place, a lot
of which are quite complex, meaning they could have many subclasses
and many nested object members. I'm implementing a memory caching
mechanism to store these objects between requests and share them
between different user ses
GH wrote:
Thank you all for the information... however at a second look I
realized that I failed to better describe my needs...
My current plan is to have a series of articles and information stored
in my database...
The table will have a ID, Title, Author, Image, Content, Date/Time
What I would li
On Thu, 30 Sep 2004 18:17:05 +0200, Marek Kilimajer <[EMAIL PROTECTED]> wrote:
> GH wrote:
> > Thank you all for the information... however at a second look I
> > realized that I failed to better describe my needs...
> >
> > My current plan is to have a series of articles and information stored
> >
On Wed, 29 Sep 2004 15:55:29 -0700 (PDT), Chris Shiflett
<[EMAIL PROTECTED]> wrote:
> I'd be interested in hearing your honest feedback after you take it,
> whether privately or on this list. Hopefully ZCE becomes a respected
> acronym, unlike MCSE. :-)
I passed.
I thought the test was very chall
GH wrote:
On Thu, 30 Sep 2004 18:17:05 +0200, Marek Kilimajer <[EMAIL PROTECTED]> wrote:
GH wrote:
Thank you all for the information... however at a second look I
realized that I failed to better describe my needs...
My current plan is to have a series of articles and information stored
in my datab
Brian:
What way should you not reference session variables? I seem to have
missed that part of the discussion... Sorry.
Gary
On Thu, 30 Sep 2004 10:17:51 -0500, Brian <[EMAIL PROTECTED]> wrote:
> Along with the other tips people gave, make sure that if you have
> register globals turned on, do
--- welly limston <[EMAIL PROTECTED]> wrote:
> how to make my page refresh automaticly?
You can use a Refresh header:
Refresh: 3; url=http://example.org/
> Can i use PHP function?
http://www.php.net/header
Hope that helps.
Chris
=
Chris Shiflett - http://shiflett.org/
PHP Security - O'R
[snip]
Is there any way you can use the numerical comparisons < or > to see if
one
word comes first alphabetically to another ?
what can I use to see if
"oranges" comes after or before "apples" alphabetically for instance.
[/snip]
**mumble grumble**
You should just try dinky questions like this o
GH wrote:
Are there anyother methods besides BBCode/phpBB that one can use?
Especially if I do not have pear available on my host?
I'm sure there are. For example you can convert the string using
htmlspecialchars, and then convert only allowed tags back:
$text = htmlspecialchars($_POST['text']);
if ( "apples" < "oranges" ) {echo "apples comes before oranges";}
On Thu, 30 Sep 2004 17:59:39 +0200, Diana Castillo <[EMAIL PROTECTED]> wrote:
> Is there any way you can use the numerical comparisons < or > to see if one
> word comes first alphabetically to another ?
> what can I use to see if
If you're uploading a file then you can make a script that reads the
temp file into the database (otherwise you need to muck around with
image functions and I'm not the one to ask about that), something
like:
$image = mysql_escape_string(fread(fopen($_FILES['file']['tmp_name'],
"r"), filesize($_FI
--- Aaron Todd <[EMAIL PROTECTED]> wrote:
> Can anyone tell me how secure a session variable is.
It's 93% secure. :-)
Seriously, session data is generally more secure than other data that
you're likely to use. If you try to consider your data as being either
local or foreign, I think you'll start
Hi folks. Thanks to all for the replies to my question about security
on shared hosting the other day.
I've contacted my hosting provider and they will be fixing the issues
I've pointed out to them.
I've got a question about a section of Chris's article on PHP security
from his OSCON 2004 talk.
--- j kensler <[EMAIL PROTECTED]> wrote:
> The first thing to do is to set your scripts to not allow session
> handling to be carried out through the URL if a person's browser
> won't accept cookies. It would be way too easy to change the ID.
While true, it is only barely more convenient to change
--- Rory Browne <[EMAIL PROTECTED]> wrote:
> I haven't done the exam, yet, but based on some of the practice
> questions, I'm getting worried. I'm finding sample questions whose
> answers are not covered in the book.
If you're talking about the questions in the back of the Zend
Certification Guide
--- "Matt M." <[EMAIL PROTECTED]> wrote:
> I am looking into taking the test, just hoping Zend runs the $100
> deal again.
You can win a free pass to take the exam by being the first to solve this
puzzle:
http://shiflett.org/archive/55
Enjoy. :-)
Chris
=
Chris Shiflett - http://shiflett.or
>
>
> I passed.
>
>
>
> Greg Donald
> Zend Certified Engineer
> http://gdconsultants.com/
> http://destiney.com/
Congratulations Greg.
Like the new sig ! ;)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
put all the values you want sorted into an array, $array =
array("orange","apple"); and use sort($array);, it should list the
values alphabetically.
On Thu, 30 Sep 2004 17:59:39 +0200, Diana Castillo <[EMAIL PROTECTED]> wrote:
> Is there any way you can use the numerical comparisons < or > to see
Just prove's the saying
"Make something idiot proof and someone will invent a better idiot"
Jeff
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 30, 2004 10:20 AM
To: [EMAIL PROTECTED]
Subject: [PHP]
UNSUBSCRIBE!
--- GH <[EMAIL PROTECTED]> wrote:
> Brian:
>
> What way should you not reference session variables? I seem to have
> missed that part of the discussion... Sorry.
I think he meant to be wary of register_globals and thinking you're
referencing a session variable when you use $foo rather than
$_SES
Please correct me if I'm wrong, but I didn't think SourceSafe allowed for
versioning/branching, simply 'locking' a file until it was checked in, but I
haven't used it for a while.
This is actually the basic functionality I'm looking for, and possibly what
the OP requires too, I don't (currently) n
Hi folks. Sorry if this gets posted twice, but I sent it originally
almost an hour ago and it hasn't shown up on the list yet.
Thanks to all for the replies to my question about security on shared
hosting the other day.
I've contacted my hosting provider and they will be fixing the issues
I've p
Hi,
> > I'd be interested in hearing your honest feedback after you take it,
> > whether privately or on this list. Hopefully ZCE becomes a respected
> > acronym, unlike MCSE. :-)
>
> I passed.
>
> I thought the test was very challenging. The areas I found most
Congrats!
-Dan Joseph
--
PHP
--- Pablo Gosse <[EMAIL PROTECTED]> wrote:
> I've got a question about a section of Chris's article on PHP
> security from his OSCON 2004 talk.
>
> When talking about protecting database credentials, Chris
> mentions creating a file (readable only by root) with the
> following:
>
> SetEnv DB_USER
On Thu, 30 Sep 2004 08:33:45 +0100, PHP Tech <[EMAIL PROTECTED]> wrote:
> Do you mean that I would have a different ID no. for different pages and
> pass that variable to the 'email this page' page which will then send the
> url according to the ID number? If that's what you mean it sounds like a
On Thu, 30 Sep 2004 10:17:53 -0700 (PDT), Chris Shiflett
<[EMAIL PROTECTED]> wrote:
> I think a very experienced developer can pass the exam without using the
> guide with little trouble, but I don't think an inexperienced developer
> can read the guide and hope to pass. You need more than that.
I
This is very interesting reading.
I've been using PHP (almost) daily for the past 7 months so Chris' comments
do encourage me to consider the possibility of going for the certification
in time. I do think I would need the study guide though as there are many
topics being discussed on this list tha
I had a couple pages that had used a few 'a href' links to create a URL
like this:
http://mydomain.com/profile.php?cid=6
When you clicked the link, it went to the profile.php page, which had
the following code snippet:
foreach($_GET as $varname => $value)
$formVars[$varname] = trim($value)
Hello,
On 09/30/2004 11:27 AM, Nick Wilson wrote:
I'm using cURL and have a question about this line (part of a function)
curl_setopt($ch, CURLOPT_PROXY, $proxy2use);
I know that *after* I curl_exec() i can find out if the proxy resolved
or not with curl_errno() (it would return 5) but it seems tha
Hi,
> You can win a free pass to take the exam by being the first to solve this
> puzzle:
>
> http://shiflett.org/archive/55
Which part on this page is the puzzle?
-Dan Joseph
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I need help understand the error following message I got. The related
script is below. I also have a separate question about dots that
appear in the script. I am using Julie Meloni's PHP Essentials 2nd
Edition to learn the language, and this is taken from page 119.
(I was trying to create a ne
On Friday 01 October 2004 00:59, Pablo Gosse wrote:
> When talking about protecting database credentials, Chris mentions
> creating a file (readable only by root) with the following:
>
> SetEnv DB_USER "myuser"
> SetEnv DB_PASS "mypass"
>
> and then using this:
>
> Include "/path/to/secret-stuff"
I'm sure I'll be flamed for this, but it seems to me that there should be a
shortcut way to write:
If ($a == 1 || $a == 4 || $a == 20 || ...) {}
To something more like what SQL has...
If ( $a IN(1,4,20,...) ) {}
And same with the very helpful SQL BETWEEN 'function'.
Instead of
If ($a > 1 &&
[snip]
> You can win a free pass to take the exam by being the first to solve
this
> puzzle:
>
> http://shiflett.org/archive/55
Which part on this page is the puzzle?
[/snip]
The clock. BEWARE - real time eater-upper!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, vis
[snip]
Error message:
"You have an error in your SQL syntax. Check the manual that
corresponds to your MySQL server version for the right syntax to use
near '(20),username text (10),password varchar (10))' at line 1"
[/snip]
We'd have to see the whole query. Can you echo $sql and give us the
wh
[snip]
I'm sure I'll be flamed for this, but it seems to me that there should
be a
shortcut way to write:
If ($a == 1 || $a == 4 || $a == 20 || ...) {}
To something more like what SQL has...
If ( $a IN(1,4,20,...) ) {}
And same with the very helpful SQL BETWEEN 'function'.
Instead of
If ($a
you could try in_array()
if (in_array(1,2,3,4,5), 6)
On Thu, 2004-09-30 at 22:10, Daevid Vincent wrote:
> I'm sure I'll be flamed for this, but it seems to me that there should be a
> shortcut way to write:
>
> If ($a == 1 || $a == 4 || $a == 20 || ...) {}
>
> To something more like what SQL h
--- Dan Joseph <[EMAIL PROTECTED]> wrote:
> Hi,
>
> > You can win a free pass to take the exam by being the first to
> solve this
> > puzzle:
> >
> > http://shiflett.org/archive/55
>
> Which part on this page is the puzzle?
Maybe that's the puzzle... :^)
>
> -Dan Joseph
>
> --
> PHP
On Friday 01 October 2004 03:10, Daevid Vincent wrote:
> I'm sure I'll be flamed for this, but it seems to me that there should be a
> shortcut way to write:
>
> If ($a == 1 || $a == 4 || $a == 20 || ...) {}
>
> To something more like what SQL has...
>
> If ( $a IN(1,4,20,...) ) {}
in_array() or m
or u can use this method from JS
You could refresh the page in various ways
1- make a rerequest to the server to give u the same page again: using
the PHP Header function.
2-using the html Header refresh tag
3-Java Script to reload the document
Since the 1st and 2nd methods are discussed in the
...sorry, that should have been
if (in_array(array(1,2,3,4), 6))
On Thu, 2004-09-30 at 22:10, Daevid Vincent wrote:
> I'm sure I'll be flamed for this, but it seems to me that there should be a
> shortcut way to write:
>
> If ($a == 1 || $a == 4 || $a == 20 || ...) {}
>
> To something more li
Hi folks,
I wonder whether Mysql supports procedures and triggers
:?
/sagar
HEre is a question that I have been wondering about:
- Does the image file use more space in the db or as a file itself
(Do Not count the extra data that one would store in the db along with
the image... ie. ID number)
Thanks
On Thu, 30 Sep 2004 09:55:30 -0700, Jasper Howard <[EMAIL PROTECTE
* and then Manuel Lemos declared
> You may want to try this HTTP client class instead. It supports requests
> via proxies and does not use Curl.
>
> http://www.phpclasses.org/httpclient
Hmmm.. good point Manuel, i have seen the class, in fact it was the
original way i /was/ going to build t
1 - 100 of 140 matches
Mail list logo