On Thu, 2008-07-31 at 09:57 +, Raido wrote:
> I have investigated some frameworks.. Zend and Codeiginiter but I
> haven't done any testing/exercises. They seem to make things much more
> simple/faster yes...but I'm not sure how much time it will take to get
> know one of them(or CakePHP). A
Konrad Priemer wrote:
Moin,
kann mir mal wer auf die Sprünge helfen, ich bekomme es gerade nicht
geregelt ein Image "on-the-fly" von einem Remote-Host per fsockopen auf
meinen Server zu ziehen.
Irgendwo hab ich da voll die Blockade ;)
Mein "nichtfunktionierender" Versuch:
...
> Gutentag,
I'm staring at the screen thinking "Huh...?".
--
Richard Heyes
http://www.phpguru.org
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
Can someone tell me what the address is to change my @php.net redirect? Thanks.
--
Richard Heyes
http://www.phpguru.org
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thanks for the nice explanation, Dan!
On 7/30/08, Daniel Brown <[EMAIL PROTECTED]> wrote:
>
> On Wed, Jul 30, 2008 at 6:51 PM, Stephen <[EMAIL PROTECTED]> wrote:
> > I have traditionally used double quotes going back to my PASCAL days.
> >
> > I see many PHP examples using single quotes, and I beg
Single quotes do still recognise \' and \\ though, for getting a
single quote and backslash. IIRC (which isn't likely) they're the only
two.
--
Richard Heyes
http://www.phpguru.org
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
>
> if ( ! (isset($_GET['x']) && $_GET['x'] == 20) )
> {
> // Do something by returning an error
> }
>
> Can this ever be correct when the form looks like:
>
>
>
>
>
> ?
I sometimes do things similar to this. I normally use it when I am opening
a new page vi
On Wed, Jul 30, 2008 at 6:51 PM, Stephen <[EMAIL PROTECTED]> wrote:
> I have traditionally used double quotes going back to my PASCAL days.
>
> I see many PHP examples using single quotes, and I began to adopt that
> convention.
>
> Even updating existing code.
>
> And I broke some stuff that was d
On Wed, Jul 30, 2008 at 7:03 PM, mike <[EMAIL PROTECTED]> wrote:
> On 7/30/08, Stephen <[EMAIL PROTECTED]> wrote:
>
>> But I wonder, is there any reason to use single quotes?
>
> extremely minor performance gains, afaik.
>
> probably moreso when doing $foo["bar"] and $foo['bar']
>
> but i believe i
I'm trying to upload the file. It's showing me successfully uploaded.
But it's not able to move from temp directory to my defined directory
my code:
if (is_uploaded_file($_FILES['myfile']['tmp_name'])) {
move_uploaded_file($_FILES['myfile']['tmp_name'], $myfilename);
echo "File ". $_FILES['
On Thu, Jul 31, 2008 at 10:18 AM, Jignesh Thummar
<[EMAIL PROTECTED]> wrote:
> I'm trying to upload the file. It's showing me successfully uploaded.
> But it's not able to move from temp directory to my defined directory
>
> my code:
>
> if (is_uploaded_file($_FILES['myfile']['tmp_name'])) {
> mo
it's writable.
On Thu, Jul 31, 2008 at 3:37 PM, Eric Butera <[EMAIL PROTECTED]> wrote:
> On Thu, Jul 31, 2008 at 10:18 AM, Jignesh Thummar
> <[EMAIL PROTECTED]> wrote:
>> I'm trying to upload the file. It's showing me successfully uploaded.
>> But it's not able to move from temp directory to my de
Cake is licensed under the MIT license which is about as permissible as
you can get.
-Shawn
Raido wrote:
I have investigated some frameworks.. Zend and Codeiginiter but I
haven't done any testing/exercises. They seem to make things much more
simple/faster yes...but I'm not sure how much time
On Jul 30, 2008, at 1:29 PM, Jim Lucas wrote:
Marten Lehmann wrote:
Hello,
I'm using some php-classes which worked fine with php-5.0.4. Now I
tried to upgrade to php-5.2.6, but the classes give a lot of
errors. If I set
error_reporting(E_ALL);
I see messages like
Notice: Undefined property
Richard Heyes wrote:
Gutentag,
I'm staring at the screen thinking "Huh...?".
He didn't even apologize for his English!
-Shawn
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Daniel Brown wrote:
On Wed, Jul 30, 2008 at 9:50 PM, Konrad Priemer <[EMAIL PROTECTED]> wrote:
kann mir mal wer auf die Sprünge helfen, ich bekomme es gerade nicht
geregelt ein Image "on-the-fly" von einem Remote-Host per fsockopen auf
meinen Server zu ziehen.
Irgendwo hab ich da voll die Block
> Cake is licensed under the MIT license which is about as permissible as you
> can get.
Any Open Source code is permissable as long you don't tell anyone... :-)
--
Richard Heyes
http://www.phpguru.org
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
Hello,
with PHP 5.0.x this two lines of code returned "{TEST}":
$var = "TEST";
print "\{$var}";
But with PHP 5.2.x, the same code returns "\{TEST}"
If I remove the backslash:
$var = "TEST";
print "{$var}";
then just "TEST" is return (without any brackets).
What is the recommended way for PH
On Thu, 2008-07-31 at 17:54 +0200, Marten Lehmann wrote:
> Hello,
>
> with PHP 5.0.x this two lines of code returned "{TEST}":
>
> $var = "TEST";
> print "\{$var}";
>
> But with PHP 5.2.x, the same code returns "\{TEST}"
>
> If I remove the backslash:
>
> $var = "TEST";
> print "{$var}";
>
>
On Thu, Jul 31, 2008 at 11:14 AM, Shawn McKenzie <[EMAIL PROTECTED]> wrote:
>
> No,
>
> http://us2.php.net/manual/de/function.copy.php
What do you mean, "no," McKenzie? ;-P
If you use the short method, it redirects properly. Putting him
through us2 and specifying translation is going to
Did you check what Jim suggested, as well, about short_open_tags?
If your scripts use PHP tags like this:
Yes, that was the problem - it was Off in:
/etc/php5/cli/php.ini
we had checked the one in:
./etc/php5/apache2/php.ini
and it was On there so we thought something else w
Ave,
What I have is two Select (Drop-Down) lists (State & County) and I'm
populating them from a mySQL table. What I want is when the user
selects the State from the State List, the County List should only
pull out counties associated with that State.
Now I know that you can create such a
Maybe check the return value of the function:
http://us3.php.net/manual/en/function.move-uploaded-file.php
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
Jignesh Thummar wrote:
> I'm trying to upload the file. It's showing me successfully uploaded.
> But it'
Here's the PHP doc page.
Let us know if you have more questions:
http://us3.php.net/manual/en/language.oop5.overloading.php
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
Philip Thompson wrote:
> On Jul 30, 2008, at 1:29 PM, Jim Lucas wrote:
>
>> Marten Lehm
On Thu, Jul 31, 2008 at 10:18 AM, Jignesh Thummar
<[EMAIL PROTECTED]> wrote:
> I'm trying to upload the file. It's showing me successfully uploaded.
> But it's not able to move from temp directory to my defined directory
>
> my code:
>
> if (is_uploaded_file($_FILES['myfile']['tmp_name'])) {
> mo
> -Original Message-
> From: Rahul S. Johari [mailto:[EMAIL PROTECTED]
> Sent: Thursday, July 31, 2008 11:40 AM
> To: php-general@lists.php.net
> Subject: [PHP] Dynamic Select Lists - 1st Selection Effects 2nd!
>
> Ave,
>
> What I have is two Select (Drop-Down) lists (State & County) and
On Jul 31, 2008, at 11:48 AM, Micah Gersten wrote:
Here's the PHP doc page.
Let us know if you have more questions:
http://us3.php.net/manual/en/language.oop5.overloading.php
Yeah, I got the link the first time and read the page. But I was
looking for a little bit more explanation...
Thank
Jignesh Thummar wrote:
I'm trying to upload the file. It's showing me successfully uploaded.
But it's not able to move from temp directory to my defined directory
my code:
if (is_uploaded_file($_FILES['myfile']['tmp_name'])) {
move_uploaded_file($_FILES['myfile']['tmp_name'], $myfilename);
Daniel Brown wrote:
On Thu, Jul 31, 2008 at 11:14 AM, Shawn McKenzie <[EMAIL PROTECTED]> wrote:
No,
http://us2.php.net/manual/de/function.copy.php
What do you mean, "no," McKenzie? ;-P
If you use the short method, it redirects properly. Putting him
through us2 and specifying transl
On Jul 31, 2008, at 12:55 PM, Boyd, Todd M. wrote:
-Original Message-
From: Rahul S. Johari [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 31, 2008 11:40 AM
To: php-general@lists.php.net
Subject: [PHP] Dynamic Select Lists - 1st Selection Effects 2nd!
Ave,
What I have is two Select (D
Richard Kurth wrote:
I want to limit these script two send 100 email and then pause for a few
seconds and then send another 100 emails and repeat this tell it has
sent all the emails that are dated for today. This script is runs by
cron so it is running in the background.
How would I do this
On Thu, Jul 31, 2008 at 1:21 PM, Shawn McKenzie <[EMAIL PROTECTED]> wrote:
>
> Sorry Brown... maybe http://php.net/de/copy
>
> Since there weren't any English words in his post I figured going directly
> to the Deutsch translation was best
Yeah, I understand but what I mean is that, the l
Marten Lehmann wrote:
Hello,
with PHP 5.0.x this two lines of code returned "{TEST}":
$var = "TEST";
print "\{$var}";
But with PHP 5.2.x, the same code returns "\{TEST}"
If I remove the backslash:
$var = "TEST";
print "{$var}";
then just "TEST" is return (without any brackets).
What is the
On Thu, Jul 31, 2008 at 7:46 AM, Richard Heyes <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Can someone tell me what the address is to change my @php.net redirect?
> Thanks.
It's on the Master system. I'll send you the direct link to edit
your profile in a Google chat.
--
Better prices on dedicat
PHP 5.2.6 with Xdebug 2.0.3 here...
Aha!
Turning off Xdebug "fixes" it...
Weird. Or maybe "normal" for Xdebug?
I'll take this up with Derick and co on Xdebug list next, if anybody
wants to follow...
On Wed, July 30, 2008 11:36 am, Andrew Ballard wrote:
> On Wed, Jul 30, 2008 at 12:19 PM, Rich
> -Original Message-
> From: Rahul S. Johari [mailto:[EMAIL PROTECTED]
> Sent: Thursday, July 31, 2008 12:27 PM
> To: Boyd, Todd M.
> Cc: php-general@lists.php.net
> Subject: Re: [PHP] Dynamic Select Lists - 1st Selection Effects 2nd!
>
>
> On Jul 31, 2008, at 12:55 PM, Boyd, Todd M. wrot
On Thu, Jul 31, 2008 at 12:40 PM, Rahul S. Johari
<[EMAIL PROTECTED]> wrote:
> Ave,
>
> What I have is two Select (Drop-Down) lists (State & County) and I'm
> populating them from a mySQL table. What I want is when the user selects the
> State from the State List, the County List should only pull o
On Thu, Jul 31, 2008 at 2:31 PM, Boyd, Todd M. <[EMAIL PROTECTED]> wrote:
>> -Original Message-
>> From: Rahul S. Johari [mailto:[EMAIL PROTECTED]
>> Sent: Thursday, July 31, 2008 12:27 PM
>> To: Boyd, Todd M.
>> Cc: php-general@lists.php.net
>> Subject: Re: [PHP] Dynamic Select Lists - 1st
Sorry about that, I forgot you got that link already.
Here's an answer for you:
I use overloading to dynamically call a function in another object if
the current object does not have it. It helps because PHP does not
support multiple inheritance.
Thank you,
Micah Gersten
onShore Networks
Interna
Philip Thompson wrote:
On Jul 30, 2008, at 1:29 PM, Jim Lucas wrote:
Marten Lehmann wrote:
Hello,
I'm using some php-classes which worked fine with php-5.0.4. Now I
tried to upgrade to php-5.2.6, but the classes give a lot of errors.
If I set
error_reporting(E_ALL);
I see messages like
Noti
Maybe you should try this library. It comes with examples and is fairly
easy to implement.
http://xajaxproject.org/
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
Rahul S. Johari wrote:
>
> In theory your solution sounds extremely feasible & perhaps the
> a
What I usually do is default to the most common country and show the
associated states.
You can change the states if they change the country.
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
Andrew Ballard wrote:
> On Thu, Jul 31, 2008 at 12:40 PM, Rahul S. Jo
> -Original Message-
> From: Micah Gersten [mailto:[EMAIL PROTECTED]
> Sent: Thursday, July 31, 2008 1:59 PM
> To: PHP General list
> Subject: Re: [PHP] Dynamic Select Lists - 1st Selection Effects 2nd!
>
> What I usually do is default to the most common country and show the
> associated s
Did IT Haha ... just as you were probably writing in & sending
this mail.
I pretty much used your theory and actually did look around under http://www.w3schools.com/ajax/
to get the relevant AJAX information. Works like a charm.
Pretty much using an onChange=grabCountiesfromAnotherPHPpa
You're right. Same principles apply though.
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
Boyd, Todd M. wrote:
> *cough*
>
> ...pretty sure he wrote "county", guys. ;)
>
>
> Todd Boyd
> Web Programmer
>
--
PHP General Mailing List (http://www.php.net/
> -Original Message-
> From: Rahul S. Johari [mailto:[EMAIL PROTECTED]
> Sent: Thursday, July 31, 2008 2:06 PM
> To: Boyd, Todd M.
> Cc: php-general@lists.php.net
> Subject: Re: [PHP] Dynamic Select Lists - 1st Selection Effects 2nd!
--
> SOLVED!!
>
>
> Did IT Haha ... just as you wer
> -Original Message-
> From: Micah Gersten [mailto:[EMAIL PROTECTED]
> Sent: Thursday, July 31, 2008 2:08 PM
> To: Boyd, Todd M.
> Cc: PHP General list
> Subject: Re: [PHP] Dynamic Select Lists - 1st Selection Effects 2nd!
>
> You're right. Same principles apply though.
>
> Thank you,
>
On Thu, Jul 31, 2008 at 1:27 PM, brian <[EMAIL PROTECTED]> wrote:
> Richard Kurth wrote:
>>
>> I want to limit these script two send 100 email and then pause for a few
>> seconds and then send another 100 emails and repeat this tell it has sent
>> all the emails that are dated for today. This scrip
On Thu, Jul 31, 2008 at 3:04 PM, Boyd, Todd M. <[EMAIL PROTECTED]> wrote:
>> -Original Message-
>> From: Micah Gersten [mailto:[EMAIL PROTECTED]
>> Sent: Thursday, July 31, 2008 1:59 PM
>> To: PHP General list
>> Subject: Re: [PHP] Dynamic Select Lists - 1st Selection Effects 2nd!
>>
>> Wha
On Jul 31, 2008, at 3:10 PM, Boyd, Todd M. wrote:
-Original Message-
From: Rahul S. Johari [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 31, 2008 2:06 PM
To: Boyd, Todd M.
Cc: php-general@lists.php.net
Subject: Re: [PHP] Dynamic Select Lists - 1st Selection Effects 2nd!
--
SOLVED!!
Andrew Ballard wrote:
On Thu, Jul 31, 2008 at 1:27 PM, brian <[EMAIL PROTECTED]> wrote:
Richard Kurth wrote:
I want to limit these script two send 100 email and then pause for a few
seconds and then send another 100 emails and repeat this tell it has sent
all the emails that are dated for today
hi.
Im implementing a website, making the develop and testing using appserv.
All work perfectly. But when i upload the site to my linux webserver
some pages cant be displayed. The page dont display any error, but dont
show information. The problem is only when i load the info from a table
o
On Thu, Jul 31, 2008 at 4:24 PM, brian <[EMAIL PROTECTED]> wrote:
> Andrew Ballard wrote:
>>
>> On Thu, Jul 31, 2008 at 1:27 PM, brian <[EMAIL PROTECTED]> wrote:
>>>
>>> Richard Kurth wrote:
I want to limit these script two send 100 email and then pause for a few
seconds and then sen
Andrew Ballard wrote:
On Thu, Jul 31, 2008 at 4:24 PM, brian <[EMAIL PROTECTED]> wrote:
Andrew Ballard wrote:
On Thu, Jul 31, 2008 at 1:27 PM, brian <[EMAIL PROTECTED]> wrote:
Richard Kurth wrote:
I want to limit these script two send 100 email and then pause for a few
On Jul 31, 2008, at 1:49 PM, Jim Lucas wrote:
Philip Thompson wrote:
On Jul 30, 2008, at 1:29 PM, Jim Lucas wrote:
Marten Lehmann wrote:
Hello,
I'm using some php-classes which worked fine with php-5.0.4. Now
I tried to upgrade to php-5.2.6, but the classes give a lot of
errors. If I set
brian wrote:
> Richard Kurth wrote:
>> I want to limit these script two send 100 email and then pause for a
>> few seconds and then send another 100 emails and repeat this tell it
>> has sent all the emails that are dated for today. This script is runs
>> by cron so it is running in the background.
Thanks.. It's fixed...
- Jignesh
On Thu, Jul 31, 2008 at 6:05 PM, brian <[EMAIL PROTECTED]> wrote:
> Jignesh Thummar wrote:
>>
>> I'm trying to upload the file. It's showing me successfully uploaded.
>> But it's not able to move from temp directory to my defined directory
>>
>> my code:
>>
>> if
57 matches
Mail list logo