Stut wrote:
On 12 Mar 2008, at 17:31, Wolf wrote:
Richard Heyes [EMAIL PROTECTED] wrote:
Greg Donald wrote:
You're
gonna restrict the entire development team from using a given feature
just because you don't want to invest 20 minutes in getting your
newbie developer up to spead? That's
Brice wrote:
I have a little problem with Soap. I programmed a script which works
well on all server except one. I had an 'HTTP Error : Couldn't open
socket connection to server' Too bad for me it's the main one.
I wonder if there is a configuration problem? I just saw that socket
is disabled
On 8/12/07, Brice [EMAIL PROTECTED] wrote:
Hello all,
I have a little problem with Soap. I programmed a script which works
well on all server except one. I had an 'HTTP Error : Couldn't open
socket connection to server' Too bad for me it's the main one.
I wonder if there is a configuration
On 5 Jan 2007, at 14:38, Skip Evans wrote:
a href=http://click.linksynergy.com/fs-bin/click?
id=5sJlsTOpnzEofferid=115126.1505type=4subid=0IMG
alt=Sharper Image border=0 src=http://
www.sharperimagespecials.com/banners/Promos/11_Nov06/
fshproplus_1106_125x125.gif/aIMG border=0 width=1
I thought it would be something like that. So
here's another question I'd appreciate thoughts on:
If I have ten of these links on a page, linking to
ten different stores, should I include one of
these IMG links on each link, just as they say to
cut and paste? Or should there only be one per
Skip Evans wrote:
I thought it would be something like that. So here's another question
I'd appreciate thoughts on:
If I have ten of these links on a page, linking to ten different
stores, should I include one of these IMG links on each link, just as
they say to cut and paste? Or should
Stut wrote:
That's really a question for the ad company to answer according to their
policy. You'll probably an answer in their instructions somewhere. We
can't give you an authoritative answer on a specific company's policy.
Good point. I finally was able to track down their
contact info
It makes it look like you displayed an advertisement, even though you
shrunk it down to 1x1, so it's not generally noticeable to the user.
Often used for tracking a user across domains for legitimate and
illegitimate purposes, and for racking up pennies for showing ads
without actually showing
tedd schrieb:
At 4:34 PM +0200 8/30/06, Jochem Maas wrote:
tedd wrote:
At 2:19 PM +0200 8/30/06, Paul Scott wrote:
Read up on MVC (Model View Controller) and the front end controller
design pattern.
Interesting that someone finally put a name to something we've been
doing for decades. We
Ross wrote:
There is a site which has interesting behaviour.
http://myurl.co.uk/index.php?p=latest
when I click the links the variable and the end changes changing the page.
http://myurl.co.uk/index.php?p=news
Can someone tell me
(i) how is this achived
index.php ---
?php
if
On Wed, 2006-08-30 at 13:10 +0100, Ross wrote:
(ii) what is the technique called
Read up on MVC (Model View Controller) and the front end controller
design pattern.
Wikipedia is a good start.
--Paul
All Email originating from UWC is covered by disclaimer
[snip]
There is a site which has interesting behaviour.
http://myurl.co.uk/index.php?p=latest
when I click the links the variable and the end changes changing the
page.
http://myurl.co.uk/index.php?p=news
Can someone tell me
(i) how is this achived
(ii) what is the technique called
(iii) does
Do this.
1. Create a script called hello.php with the following content:
?php
echo $_GET['string'];
?
2. Enter http://yoururl/hello.php?string=Hello
3. The page will say Hello
The content after the ? will be treated as GET variables in the http request
to the server. You can use this to
At 2:19 PM +0200 8/30/06, Paul Scott wrote:
On Wed, 2006-08-30 at 13:10 +0100, Ross wrote:
(ii) what is the technique called
Read up on MVC (Model View Controller) and the front end controller
design pattern.
Wikipedia is a good start.
--Paul
Interesting that someone finally put a name
tedd wrote:
At 2:19 PM +0200 8/30/06, Paul Scott wrote:
On Wed, 2006-08-30 at 13:10 +0100, Ross wrote:
(ii) what is the technique called
Read up on MVC (Model View Controller) and the front end controller
design pattern.
Wikipedia is a good start.
--Paul
Interesting that someone
At 4:34 PM +0200 8/30/06, Jochem Maas wrote:
tedd wrote:
At 2:19 PM +0200 8/30/06, Paul Scott wrote:
On Wed, 2006-08-30 at 13:10 +0100, Ross wrote:
(ii) what is the technique called
Read up on MVC (Model View Controller) and the front end controller
design pattern.
Wikipedia is a
Brian,
I was trying to do this the other day using file_get_contents to load a page
into a variable, but never quite got round to finishing it off.
However, I recently received a very good Reg Exp tutorial which I hope is of
use to you...
*Basic Syntax of Regular Expressions (as from
At 04:50 PM 7/4/2006, Brian Dunning wrote:
I have the source of a web page stored in $here and I want to set
$this to whatever appears between 'span class=myclass' and '/
span'. Example:
$here contains (amid tons of other stuff): span
class=myclassThis is a statement./span
If you can
Brian Dunning wrote:
I have the source of a web page stored in $here and I want to set $this
to whatever appears between 'span class=myclass' and '/span'.
Example:
$here contains (amid tons of other stuff): span class=myclassThis
is a statement./span
I want to set $this to This is a
yup, psacln is the group of the user ancientstones who`s owner of the files.
tedd wrote:
Hi Gang:
When I list one of my directories, via:
echo(pre);
system(ls -l);
echo(/pre);
I get:
-rw-r--r-- 1 ancientstones psacln 6980 Apr 28 18:46 ancientstones.gif
-rw-r--r-- 1
tedd wrote:
Hi Gang:
When I list one of my directories, via:
echo(pre);
system(ls -l);
echo(/pre);
I get:
-rw-r--r-- 1 ancientstones psacln 6980 Apr 28 18:46 ancientstones.gif
-rw-r--r-- 1 ancientstones psacln 2090 May 14 10:10 as.css
-rw-r--r-- 1 ancientstones psacln 658 May 2 14:59
At 10:58 AM -0400 5/18/06, John Nichel wrote:
tedd wrote:
Hi Gang:
When I list one of my directories, via:
echo(pre);
system(ls -l);
echo(/pre);
I get:
-rw-r--r-- 1 ancientstones psacln 6980 Apr 28 18:46 ancientstones.gif
-rw-r--r-- 1 ancientstones psacln 2090 May 14 10:10 as.css
tedd wrote:
At 10:58 AM -0400 5/18/06, John Nichel wrote:
tedd wrote:
Hi Gang:
When I list one of my directories, via:
echo(pre);
system(ls -l);
echo(/pre);
I get:
-rw-r--r-- 1 ancientstones psacln 6980 Apr 28 18:46 ancientstones.gif
-rw-r--r-- 1 ancientstones psacln 2090 May 14
On Monday 13 February 2006 21:55, Sam Smith wrote:
I have a client who wants to blog or he wants a blog on his website. I
don't know anything about these blogs except it's sort of a fad I think.
Isn't a blog just a simple web form with a big textarea on the blogger's
side writing to a
On 2/14/06, Duncan Hill [EMAIL PROTECTED] wrote:
WordPress is free, has a neat WYSIWYG editor in version 2, and has a good
support community. 5 minutes to install vs an hour to code a basic interface
- I'd take the 5 minutes :p
That being said, get lost from the PHP user list! :-)
--
Kim
On Tuesday 14 February 2006 16:18, Kim Christensen wrote:
On 2/14/06, Duncan Hill [EMAIL PROTECTED] wrote:
WordPress is free, has a neat WYSIWYG editor in version 2, and has a good
support community. 5 minutes to install vs an hour to code a basic
interface - I'd take the 5 minutes :p
Or code and give back to the project
On 2/14/06, Duncan Hill [EMAIL PROTECTED] wrote:
On Tuesday 14 February 2006 16:18, Kim Christensen wrote:
On 2/14/06, Duncan Hill [EMAIL PROTECTED] wrote:
WordPress is free, has a neat WYSIWYG editor in version 2, and has a good
support community. 5
[snip]
I have a client who wants to blog or he wants a blog on his website. I don't
know anything about these blogs except it's sort of a fad I think.
Isn't a blog just a simple web form with a big textarea on the blogger's
side writing to a database and then the data is displayed in
Wordpress is free and easy to setup.
On 2/13/06, Sam Smith [EMAIL PROTECTED] wrote:
I have a client who wants to blog or he wants a blog on his website. I don't
know anything about these blogs except it's sort of a fad I think.
Isn't a blog just a simple web form with a big textarea on the
On Wed, Oct 05, 2005 at 03:12:51PM -0400, Scott Fletcher wrote:
What is the safest way to destroy or take out the
$xml['NEWSFEED']['0']['MESSAGE']['2']. associative arrays starting with
['2'] and those arrays inside of the ['2'] array path?
The unset() would make it not possible to
On Wed, October 5, 2005 2:12 pm, Scott Fletcher wrote:
What is the safest way to destroy or take out the
$xml['NEWSFEED']['0']['MESSAGE']['2']. associative arrays starting
with
['2'] and those arrays inside of the ['2'] array path?
The unset() would make it not possible to reassign the
Hi Rene,
I am becoming a little bit concerned about some of the
advice you have been getting about setting a rate for
your work. Don't get me wrong, there is nothing wrong
with charging by the hour, but a lot of times one of
two things happen, either you begin to resent your
customer or they
That would be between $10 and $150 per hour or more. One can easily
find and hire a college kid to slap together some open source programs,
maybe throw a bit of Flash and fancy graphics on a web page and the
project is done for $10 per hour. Of course, there is no cohesiveness
or consistency
On Sun, 2005-04-03 at 16:51 -0600, -{ Rene Brehmer }- wrote:
Hi gang
Sorry for asking this question here, but I don't know where else to ask.
And Goole'ing didn't help me much.
My father-in-law has a friend in Alaska (and I'm in Canada) that needs a
website done. Not sure what kinda
Hello -{,
Sunday, April 3, 2005, 4:51:29 PM, you wrote:
RB What do y'all charge when you do sites for people ??? ... In the
RB past I've only done pro-bono work (because they usually don't
RB require much work, so it's not a problem getting it done while
RB working on other projects), but I've
Leif,
Amen, amen and amen.
Miles
At 08:52 PM 4/3/2005, Leif Gregory wrote:
Hello -{,
Sunday, April 3, 2005, 4:51:29 PM, you wrote:
RB What do y'all charge when you do sites for people ??? ... In the
RB past I've only done pro-bono work (because they usually don't
RB require much work, so it's not
[snip]
Haven't gotten anything from the list since yesterday...is it me, or is
it the list. Fix it Jay!!! ;)
[/snip]
I am up to my arse in an application roll-out and you want me to reboot
the computer?!?!?! I don't think so Tim, um er..John!
ROFLMMFAO
--
PHP General Mailing List
John Nichel mailto:[EMAIL PROTECTED]
on Friday, February 25, 2005 6:12 AM said:
Haven't gotten anything from the list since yesterday...is it me, or
is it the list. Fix it Jay!!! ;)
While we're asking questions about the list, is it just me or does it
take everyone's email 30+ minutes
So many people have said this, but i think its fix.
From: John Nichel [EMAIL PROTECTED]
To: PHP Mailing Lists php-general@lists.php.net
Subject: [PHP] What's up with the list?
Date: Fri, 25 Feb 2005 09:11:34 -0500
MIME-Version: 1.0
Received: from lists.php.net ([216.92.131.4]) by
Our mailing list server has been getting bogged down so we are
experimenting with some new code. That code got stuck last night. No
mail was lost, but it did get held up until we woke up to fix it.
-Rasmus
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Phpu wrote:
For the last 2 days i haven't received emails. What's going on with this mailing list?
It might have something to do with the fact your clock is 2 days behind.
Have you been time travelling?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Here's the question...
I can either A) in the header or my page, generate a recordset of all of
the records in the related table and then loop through the recordset
creating an array of the fields I need and then later pull from it in the
repeat region... or B) take the six lines of code
I can either A) in the header or my page, generate a recordset of all of
the records in the related table and then loop through the recordset
creating an array of the fields I need and then later pull from it in the
repeat region... or B) take the six lines of code Dreamweaver generates to
--- Robb Kerr [EMAIL PROTECTED] wrote:
Here's the question...
I can either A) in the header or my page, generate a recordset
of all of the records in the related table and then loop through
the recordset creating an array of the fields I need and then
later pull from it in the repeat
Almost all the time (unless the data being worked with is extremely,
extremely large) PHP is much faster at manipulating data than MySQL. So
if you already have the record set pulled out of MySQL, you probably
want to go with PHP to manipulate it. Especially for repeating like
this, there is
On Wed, 8 Sep 2004 10:30:59 -0500, Jim Grill wrote:
Here's the question...
I can either A) in the header or my page, generate a recordset of all of
the records in the related table and then loop through the recordset
creating an array of the fields I need and then later pull from it in the
[snip]
I don't completely understand your terminology, but it's always faster
to get all of your data with a single query rather than a query per
loop. Of course, the difference is that it also requires more memory. In
general,
if you have the memory, use it. It will always be faster.
[/snip]
+1
[snip]
That brings up another question which I know actually belongs over on
the MySQL board, but since the question arose here I thought I'd post
here. I understood that MyISAM tables could not be relational. Do you
mean that I can create JOINs between MyISAM tables? Maybe I need to do
some more
From: Robb Kerr [EMAIL PROTECTED]
That brings up another question which I know actually belongs over on the
MySQL board, but since the question arose here I thought I'd post here. I
understood that MyISAM tables could not be relational. Do you mean that I
can create JOINs between MyISAM tables?
On Wed, 2004-09-08 at 13:31, Robb Kerr wrote:
That brings up another question which I know actually belongs over on the
MySQL board, but since the question arose here I thought I'd post here. I
understood that MyISAM tables could not be relational. Do you mean that I
can create JOINs between
That brings up another question which I know actually belongs over on the
MySQL board, but since the question arose here I thought I'd post here. I
understood that MyISAM tables could not be relational. Do you mean that I
can create JOINs between MyISAM tables? Maybe I need to do some more
[snip]
This has me confused, is this Java or a php class, a constant or what?,
i
have never seen this kind of action.
form method=post action={S_MODE}
In what type of file will i find the S_MODE.
[/snip]
A quick Google indicates .NET
--
PHP General Mailing List (http://www.php.net/)
To
Hello Robert,
Thursday, April 22, 2004, 8:02:55 PM, you wrote:
RS $cat_id = $cats[id_num];
Try this:
$cat_id = $cats['id_num'];
You need to quote array elements otherwise PHP expects a constant.
--
Best regards,
Richard Davey
http://www.phpcommunity.org/wiki/296.html
--
PHP General
John W. Holmes wrote:
You want instead of ||
if ($cat_id != 53 $cat_id != 54 $cat_id != 55 $cat_id
!= 117 $cat_id != 118 $cat_id != 74)
For stuff like this I've always found the following slightly easier on the
eyes:
if (!in_array($cat_id, array('53', '54', '55', '117', '118', '74')))
What about removing the quotes around the numbers.
if ($cat_id != 53 || $cat_id != 54 || $cat_id != 55 etc...
My IF statement should be picking up on the numbers, and if the number
matches not be displaying out the information, however I look at the
outputted page and the information is
From: Robert Sossomon [EMAIL PROTECTED]
if ($cat_id != 53 || $cat_id != 54 || $cat_id != 55 || $cat_id
!= 117 || $cat_id != 118 || $cat_id != 74)
Okay, if $cat_id is 53, this will work out to:
if(FALSE || TRUE || TRUE || TRUE || TRUE || TRUE)
which results in TRUE overall.
You want
--- Robert Sossomon [EMAIL PROTECTED] wrote:
if ($cat_id != 53 || $cat_id != 54 || $cat_id != 55 || $cat_id
!= 117 || $cat_id != 118 || $cat_id != 74)
That looks like a pretty big logical flaw to me. Just read that out loud
to yourself. It should be clear that this statement is equivalent to:
: Chris Shiflett [mailto:[EMAIL PROTECTED]
Sent: den 29 mars 2004 23:53
To: Stephen Craton; 'PHP List'
Subject: Re: [PHP] What's the use in OOP?
--- Stephen Craton [EMAIL PROTECTED] wrote:
I've been reading up on object oriented programming in PHP for a while
now and I just don't get what's
On Mon, 2004-03-29 at 16:43, Stephen Craton wrote:
I've been reading up on object oriented programming in PHP for a while now
and I just don't get what's the use in using it. It supposedly makes it
faster, but I don't really see how in any of my scripts. What's the
advantage of OOP anyway, and
Stephen Craton wrote:
I've been reading up on object oriented programming in PHP for a while now
and I just don't get what's the use in using it. It supposedly makes it
faster, but I don't really see how in any of my scripts. What's the
advantage of OOP anyway, and why are so many people using it
--- Stephen Craton [EMAIL PROTECTED] wrote:
I've been reading up on object oriented programming in PHP for a while
now and I just don't get what's the use in using it. It supposedly
makes it faster, but I don't really see how in any of my scripts.
Makes it faster in what way? I'm curious to
Hello Stephen,
Monday, March 29, 2004, 10:43:22 PM, you wrote:
SC I've been reading up on object oriented programming in PHP for a while now
SC and I just don't get what's the use in using it. It supposedly makes it
SC faster, but I don't really see how in any of my scripts. What's the
SC
I agree, but the reuse of code is also posible in an structured oriented
fashion and it is not inherent in OOP.
Simply saying that you are going to use OOP doesn't means that the code
reuse is granted, like in structured oriented programming you have to
think very carefully how to design your
- -Original Message-
- From: Chris Shiflett [mailto:[EMAIL PROTECTED]
- Sent: Monday, March 29, 2004 4:53 PM
- To: Stephen Craton; 'PHP List'
- Subject: Re: [PHP] What's the use in OOP?
-
- --- Stephen Craton [EMAIL PROTECTED] wrote:
- I've been reading up on object oriented programming in PHP
Stephen Craton said:
I've been reading up on object oriented programming in PHP for a while now
and I just don't get what's the use in using it. It supposedly makes it
faster, but I don't really see how in any of my scripts. What's the
advantage of OOP anyway, and why are so many people using
Mar 29 at 5:25pm, Stephen Craton wrote:
I used OO in my chat script (can be found at http://php.melchior.us) but
it really seemed like a waste since it was such a small basic script. I
never really find myself re-needing code except for database
connectivity and calling the database and stuff
--- Kelly Hallman [EMAIL PROTECTED] wrote:
I think there is a bit of what I consider an efficiency myth in
regards to OOP in PHP. Most agree that the OO implementation in PHP
is not robust.
It's much better in PHP 5, although a lack of robustness is not how I
would personally describe PHP 4's
Mar 29 at 3:23pm, Chris Shiflett wrote:
I think there is a bit of what I consider an efficiency myth in
regards to OOP in PHP. Most agree that the OO implementation in PHP
is not robust.
It's much better in PHP 5, although a lack of robustness is not how I
would personally describe PHP
On Mon, 2004-03-29 at 18:23, Chris Shiflett wrote:
--- Kelly Hallman [EMAIL PROTECTED] wrote:
I think there is a bit of what I consider an efficiency myth in
regards to OOP in PHP. Most agree that the OO implementation in PHP
is not robust.
It's much better in PHP 5, although a lack of
Stephen Craton said:
I used OO in my chat script (can be found at
http://php.melchior.us) but it really seemed like a waste
since it was such a small basic script. I never
really find myself re-needing code except for database
connectivity and calling the database and stuff like that.
My
--- Robert Cummings [EMAIL PROTECTED] wrote:
Perhaps, but I would say that most people who make this assertion
understand OO. The performance penalty is not a myth. Just as
templating incurs a performance penalty, so does OO. The reward
can be worth it, of course, in terms of organization
Not a problem. I think it doesn't work because you need to register for
a key on weather.com site now.
Thanks though!
Karl
On Feb 29, 2004, at 7:40 AM, Lowell Allen wrote:
I'm looking for some code to get the latest weather and put it on my
webpage, and have it very customizable. What are
I'm looking for some code to get the latest weather and put it on my
webpage, and have it very customizable. What are your favorites?
I've only tried this one -- found it easy to work with:
http://www.cruelacid.com/?page=weather
--
Lowell Allen
--
PHP General Mailing List
Karl Timmermann wrote:
I'm looking for some code to get the latest weather and put it on my
webpage, and have it very customizable. What are your favorites?
http://weatherpixie.com/
Can't get any more customized than that ;)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
If you want to see the contents of an array, use the print_r function:
http://www.php.net/print_r
HTH!
--Sam
Donpro wrote:
$emails =
array([EMAIL PROTECTED],[EMAIL PROTECTED],[EMAIL PROTECTED]);
$addresses = explode(,,$emails);
for ($i=0; $i count($addresses); $i++) {
echo $i . ':
On Tue, 2004-02-24 at 12:51, Donpro wrote:
$emails = array([EMAIL PROTECTED],[EMAIL PROTECTED],[EMAIL PROTECTED]);
$addresses = explode(,,$emails);
for ($i=0; $i count($addresses); $i++) {
echo $i . ': ' . $addresses[$i] . 'br';
if ($i == count($addresses) - 1)
Donpro mailto:[EMAIL PROTECTED]
on Tuesday, February 24, 2004 9:52 AM said:
$emails =
array([EMAIL PROTECTED],[EMAIL PROTECTED],[EMAIL PROTECTED]);
$addresses = explode(,,$emails); for ($i=0; $i count($addresses);
$i++) { echo $i . ': ' . $addresses[$i] . 'br';
if ($i ==
* Thus wrote CPT John W. Holmes ([EMAIL PROTECTED]):
From: Jeremy Russell [EMAIL PROTECTED]
Will get nearly everything that resembles an email address.
Holy crap, batman... did you even read the original message?
lol..
I'm more curious as how this topic got into this thread.
Curt
[EMAIL PROTECTED](net|com|org|gov|...)
or
[EMAIL PROTECTED]
Will get nearly everything that resembles an email address.
[EMAIL PROTECTED] would even go through the second one.
Best thing to do maybe is try to send a email to the address to verify
it.
-Original Message-
From:
No... I replied to a reply think it was the original... :/
Doh!!
-Original Message-
From: CPT John W. Holmes [mailto:[EMAIL PROTECTED]
Sent: Friday, October 17, 2003 2:48 PM
To: Jeremy Russell; Daevid Vincent; [EMAIL PROTECTED]
Subject: Re: [PHP] What's a good regex to validate
From: Daevid Vincent [EMAIL PROTECTED]
Not PHP, but in js, I use this:
Dude... read the messages before you reply. you know, the whole think
before you say thing?? ;)
---John Holmes...
-Original Message-
From: John W. Holmes [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 15,
On Tue, Aug 12, 2003 at 03:58:19PM -0700, Chris W. Parker wrote:
I'm surprised the email address hasn't been taken off the list yet.
[EMAIL PROTECTED] you are my arch-nemesis!!
[EMAIL PROTECTED] is the place to kvetch about users like
this. I already did. A subject of username bouncing is
sorry i just made the notice too i hope it works
On Tue, Aug 12, 2003 at 03:58:19PM -0700, Chris W. Parker wrote:
I'm surprised the email address hasn't been taken off the list yet.
[EMAIL PROTECTED] you are my arch-nemesis!!
[EMAIL PROTECTED] is the place to kvetch about users
like this.
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
on Tuesday, August 12, 2003 4:15 PM said:
i didnt undertstand a word you said , is he off the list yet
1. Maybe your comprehension would be helped if you learned to punctuate
sentences correctly. Spaces never ever come before punctuation. It's
i didnt undertstand a word you said , is he off the list yet
On Tue, Aug 12, 2003 at 03:58:19PM -0700, Chris W. Parker wrote:
I'm surprised the email address hasn't been taken off the list yet.
[EMAIL PROTECTED] you are my arch-nemesis!!
[EMAIL PROTECTED] is the place to kvetch about users
On 10 Jul 2003, Jonathan Villa wrote:
I've read somewhere about some asptophp convertor/tool/methodology...??
Don't know what it is, that's why I'm asking.
I've been asked to help out on a project which might include some
already developed basic ASP code. I would rather do it in PHP.
Umm quotes.
Anywhere in your actual SQL that you are using a single quote,
you need to put a backslash before it, example:
activated ENUM('0','1') DEFAULT '0'
Becomes:
activated ENUM(\'0\',\'1\') DEFAULT \'0\'
On Tue, 2003-07-08 at 11:26, Artoo wrote:
I keep getting Parse error: parse
Thanks.
- Original Message -
From: Adam Voigt [EMAIL PROTECTED]
To: Artoo [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, July 08, 2003 11:31 AM
Subject: Re: [PHP] what's wrong with this?
Umm quotes.
Anywhere in your actual SQL that you are using a single quote,
you
Problem lines
if ($mo == 06 and $dy 01 and $dy 09) { $wd = 8; }
if ($mo == 06 and $dy 08) { $wd = 9; }
but if I change my date to 06/02 then no matter what I
try, $wd always gets the value of 9 (it should be 8 on this
date). It should
not get the value 9 until the 9th
At 01:08 30.04.2003, Beauford said:
[snip]
if ($mo == 06 and $dy 01 and $dy 09) { $wd = 8; }
if ($mo == 06 and $dy 08) { $wd = 9; }
[snip]
The problem is your notation. If you had written
if ($mo == 6 and $dy
think of any other
way of doing it.
Any suggestions?
Thanks
- Original Message -
From: Ernest E Vogelsinger [EMAIL PROTECTED]
To: Beauford [EMAIL PROTECTED]
Cc: PHP General [EMAIL PROTECTED]
Sent: Friday, May 30, 2003 7:39 PM
Subject: Re: [PHP] What's wrong with this code??
At 01:08
On Fri, 2003-05-30 at 20:02, Beauford wrote:
Your right though, the code is awkward - but I couldn't think of any other
way of doing it.
Any suggestions?
switch
http://us4.php.net/manual/en/control-structures.switch.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
]
To: Beauford [EMAIL PROTECTED]
Cc: PHP General [EMAIL PROTECTED]
Sent: Friday, May 30, 2003 9:18 PM
Subject: Re: [PHP] What's wrong with this code??
On Fri, 2003-05-30 at 20:02, Beauford wrote:
Your right though, the code is awkward - but I couldn't think of any
other
way of doing it.
Any
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, 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
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
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!
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
very cool chris!!!
Justin
on 19/03/03 2:27 AM, Chris Hayes ([EMAIL PROTECTED]) wrote:
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
Is your form enctype set?
Like so:
form name='foo' method='post' action='foo.php'
enctype='multipart/form-data'
Liam Gibbs wrote:
This line:
INPUT TYPE = FILE NAME = imprintpicture SIZE = 22
when clicking submit, produces nothing. I print_r $_FILES[imprintpicture], I try to echo
201 - 300 of 393 matches
Mail list logo