First  |  Prev |  Next  |  Last
Pages: 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
PHP -r, -a and .php return different results based upon" or ' marks !? [BUG]
On Thu, 2010-06-10 at 17:49 -0700, Daevid Vincent wrote: Chew on this... developer(a)mypse:~$ cat ./md5test.php #!/usr/bin/php <?php $password = '12345678'; echo md5(strtoupper($password)); echo "\n"; echo md5(strtoupper('12345678')); echo "\n"; $password = '$12345678'; echo md5... 10 Jun 2010 21:17
PHP -r, -a and .php return different results based upon " or ' marks !? [BUG]
Chew on this... developer(a)mypse:~$ cat ./md5test.php #!/usr/bin/php <?php $password = '12345678'; echo md5(strtoupper($password)); echo "\n"; echo md5(strtoupper('12345678')); echo "\n"; $password = '$12345678'; echo md5(strtoupper($password)); echo "\n"; echo md5(strtoupper('$12345678')); echo "\n"; ... 10 Jun 2010 21:17
is <?= good?
I know that i should use the full open tag in php <?php ?> but i want to know if its good to use this tag <?=$name?> instead of <?php echo $name ?> ... 14 Jun 2010 15:09
Brandon Rampersad wants to chat
----------------------------------------------------------------------- Brandon Rampersad wants to stay in better touch using some of Google's coolest new products. If you already have Gmail or Google Talk, visit: http://mail.google.com/mail/b-b89a7a894d-87f44ca42c-QxVqdDj-Y-taKgwQ_V0g-Q8WRBY You'll need to c... 10 Jun 2010 17:56
bug in mkdir? [SOLVED]
Ashley Sheridan wrote: On Thu, 2010-06-10 at 11:32 -0700, Mike Wright wrote: Hi all, Using 5.2.9 I'm trying to create a directory but it is being created with incorrect permissions. I'm following the online manual. This is the command being used: mkdir('/srv/www/dom... 10 Jun 2010 15:42
bug in mkdir?
Hi all, Using 5.2.9 I'm trying to create a directory but it is being created with incorrect permissions. I'm following the online manual. This is the command being used: mkdir('/srv/www/domain/data/R1276190214358/thumbs', 0770, true); This is what is created: drwxr-x--- 2 apache apache 40... 10 Jun 2010 15:42
Redirect to
Hi folks, I know that this is not a php question, but I'm sure it some kind related to it. I need to put my public files under "public" folder, and other includes files and database config in other folder not shown to the public, but i don't know how to do that. I hope if some one show me how to achieve this.... 10 Jun 2010 16:49
Question - foreach.
PHP'ers, I am reading a PHP book which explains foreach and at the end says : *'When foreach starts walking through an array, it moves the pointer to the beginning of the array. You don’t need to reset an array before walking through it with foreach.'* * * *Does this mean - * *1) Before I navigate the array, ... 11 Jun 2010 15:56
Passing large object between methods
<?php class A{ public function someFunction() { $obj = new B(); //add more to $obj_A $obj->data = "B foo"; //call a function to add extra info on $obj_A $obj = $this->addExtraInfo($obj); //debug print_r($obj); echo "<br />"; } public ... 9 Jun 2010 18:43
Generic Email
Hi friends, I am new in PHP. I want to know that how to send an email in HTML format(i.e. with proper header, footer, etc) in PHP. Please suggest me with code. -- Thanks and Regards, Amit ... 10 Jun 2010 11:10
First  |  Prev |  Next  |  Last
Pages: 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50