Posts Topics Forums Images
Search videos from message boards Videos Search messages from microblogs Microblogs Search messages from imdb.com Imdb Search messages from yuku.com Yuku Search messages from lefora.com (free forums) Lefora
My account: Login | Sign Up
Loading... 

PHP | Forum profile

Forum profile page for PHP on http://www.webdeveloper.com. This report page is the aggregated overview from a single forum: PHP, located on the Message Board at http://www.webdeveloper.com. This forum profile page summarizes the general forum statistics such as: Users Activity, Forum Activity, and Top Authors, which are reported in either a table or graph below for a given reporting time period. Additional forum profile information for "PHP" on the Message Board at http://www.webdeveloper.com is also shown in the following ways:

1) Latest Active Threads
2) Hot Threads for Last Week

Warning: These statistics are generated using 'best efforts' and can experience delays and reporting errors at times. Please note that such statistics do not constitute a forum's popularity and/or exact posting volumes at any given reporting period.

Site: WebDeveloper.com - PHP (site profile, domain info webdeveloper.com)
Title: PHP
Url: http://www.webdeveloper.com/forum/forumdisplay....
Users activity: 33 posts per thread
Forum activity: 144 active threads during last week
 

Posting activity on PHP:

  Week Month 3 Months
Threads: 144 477 1,401
Post: 538 1,594 4,597
 

PHP Posting activity graph:

Posts by:  day  week  month 

Top authors during last week:

Name
Posts
NogDog
57
user's latest post:
Function to return 1 if above 0,...
Published (2009-11-25 16:57:00)
PHP Code: (bool) max ( 0 , $value ); (Just being a smart-@$$. )
SrWebDeveloper
39
user's latest post:
DOMDoument - Strict to DOCType?
Published (2009-11-25 12:46:00)
Good assumption. Using loadHTML() automagically sets the doctype property of your DOMDocument instance(to the doctype in the html, or defaults to 4.0 Transitional). If you set the doctype with DOMImplementation it will be overridden.
multimediocrity
14
user's latest post:
How do I modify my phpinfo...
Published (2009-11-24 16:37:00)
Ok, I'm trying this. It doesn't seem to be working. here's what I'm doing: Code: ini_set('post_max_size', '1000M'); ini_set('memory_limit', '1000M'); ini_set('max_execution_time', 50000000); The phpinfo() still reports the old values, and it is still not working. Am I missing something?
criterion9
13
user's latest post:
output_buffering problem: PHP...
Published (2009-11-24 10:14:00)
Do you have error reporting on? Do you see any errors in the apache log? Do you have startup errors on in your php.ini? It is possible there is a configuration problem that might give you a warning during startup but that you won't see easily during execution.
donatello
11
user's latest post:
Escaping a plus sign (+)
Published (2009-11-22 10:59:00)
Quote: Originally Posted by thraddash You should really be using the str_replace function instead, as it seems you don't need a regular expression to do the match. PHP Code: $who = str_replace ( '-' , ' ' , $who ); Thanks for the tip, done!<P> Maybe one of these days I'll know what I'm doing in PHP... Can anyone explain why? I'm curious to know... is preg_replace more taxing on Apache? is...
spacemoc
10
user's latest post:
Search result Export to XLS -...
Published (2009-11-17 08:41:00)
Jim, Thank you so much for your help, comma ; was missing in the code. I fixed that and now working well. One more time thank you so much. I f ever be in London give me a buzz Cheers Seb
Mindzai
10
user's latest post:
Debugging in netbeans
Published (2009-11-21 07:11:00)
Unless I'm missing something xdebug is a PHP extension, nothing to do with an IDE - or do you want the IDE to pick up the xdebug functions for autocomplete?
ehime
9
user's latest post:
Happy Thanksgiving
Published (2009-11-25 11:49:00)
Thanks Jim, Happy Turkey Day from Seattle.
tariq_wajiha
8
user's latest post:
Debugging in netbeans
Published (2009-11-21 15:51:00)
I tried this link but it failed to configure XDebug.
criterion9 Registered User
8
user's latest post:
Escaping a plus sign (+)
Published (2009-11-22 11:37:00)
str_replace has less overhead and is less taxing on the processor especially when you are just replacing a single character. More complicated replaces/searches can justify the extra overhead of the ereg/preg functions.
 

Latest active threads on PHP::

WebDeveloper.com
Started 16 hours, 32 minutes ago (2009-11-26 16:46:00)  by chris22
to select rows with primary key 5 and 45: Code: SELECT * FROM table WHERE id IN (5,45)
Thread:  Show this thread (4 posts)   Thread info: Sql query Size: 389 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: Sql query :: PHP :: WebDeveloper.com"
WebDeveloper.com
Started 4 weeks ago (2009-10-29 17:22:00)  by blue-eye-labs
If you're trying to read through an HTML document why not use something like DOMDocument ?
Thread:  Show this thread (8 posts)   Thread info: Help with regular expressions Size: 183 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: Help with regular expressions :: PHP :: WebDeveloper.com"
WebDeveloper.com
Started 1 day, 17 hours ago (2009-11-25 16:01:00)  by aj_nsc
You mean this: Code: return ($value > 0) ? true : false; is too complex for you? EDIT: I assumed returning a binary true/false (e.g. a 1 or a 0) was the same as returning an actual true/false
Thread:  Show this thread (6 posts)   Thread info: Function to return 1 if above 0, or 0 if Size: 509 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: Function to return 1 if above 0, or 0 if <=0 :: PHP :: WebDeveloper.com"
WebDeveloper.com
Started 21 hours, 23 minutes ago (2009-11-26 11:55:00)  by NogDog
You might want to take a look at flock () -- or consider using a database, instead.
Thread:  Show this thread (5 posts)   Thread info: reading and writing files: concurrency? Size: 272 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: reading and writing files: concurrency? :: PHP :: WebDeveloper.com"
WebDeveloper.com
Started 1 day, 22 hours ago (2009-11-25 10:48:00)  by SrWebDeveloper
As I don't see anything too obvious, since $pic_folder can be a folder name, a few concerns come to mind. First, I assume you strip any illegal characters like spaces and * and so on which cannot be used in folder names, and might corrupt the results of file_exists. Secondly, typically a physical path is referenced somehow for file_exists which prefixes the folder name, i.e. $real_folder="{$_...
Thread:  Show this thread (4 posts)   Thread info: Screen goes black on submit Size: 730 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: Screen goes black on submit :: PHP :: WebDeveloper.com"
WebDeveloper.com
Started 1 day, 20 hours ago (2009-11-25 12:29:00)  by SrWebDeveloper
You're vague as to what "required" means, i.e. is the field missing entirely from the POST data, or is it simply blank. I wrote some code (tested, works) that checks for both and uses your error function as well. In the example code below you'd edit $required_fields to list all the required field names that come from your form. At the top I create test post data, notice field2 is blank (to ...
Thread:  Show this thread (4 posts)   Thread info: Form Validation - Help please Size: 4,730 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: Form Validation - Help please :: PHP :: WebDeveloper.com"
WebDeveloper.com
Started 2 days ago (2009-11-25 09:11:00)  by SrWebDeveloper
Use Ajax to do it. They have a demo on the thickbox site. Ajax works great with PHP form variables and Jquery (which is the framework for Thickbox). When the form is submitted Javascript intervenes to handle the HTTP request, passing values to a function which in turn gets passed to the PHP script on the server and returns the output. The CSS in conjunction with the Javascript writes in ...
Thread:  Show this thread (4 posts)   Thread info: PHP form post to Thickbox, GreyBox Size: 745 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: PHP form post to Thickbox, GreyBox :: PHP :: WebDeveloper.com"
WebDeveloper.com
Started 1 day, 23 hours ago (2009-11-25 09:39:00)  by SrWebDeveloper
What issues? If $variable1 is numeric, no issue at all. But as a string... Change to: PHP Code: print "<a href=\"#\" onclick=\"search('$variable1')\" title=\"$variable1\">$variable1</a><br />" ; I changed all existing single quotes to double inside the print statement. Then I wrapped the Javascript function argument with single quotes,...
Thread:  Show this thread (6 posts)   Thread info: escape slashes JS+php Size: 1,382 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: escape slashes JS+php :: PHP :: WebDeveloper.com"
 

Hot threads for last week on PHP::

PHP
Started 5 days, 13 hours ago (2009-11-21 19:28:00)  by nMIK-3 Registered User
Hey guys. I have this javascript code Quote: <head> <title>Font</title> </head> <body> <script language="JavaScript"> for (i=1; i <= 7; i++) { document.write ('<font size= '); document.write (i); document.write (' > Hello World</font> <br>'); } </script> </body> </html> This code using while loop with ...
Thread:  Show this thread (14 posts)   Thread info: [RESOLVED] Question for PHP while loop and font size change Size: 1,836 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "[RESOLVED] Question for PHP while loop and font size change :: PHP :: WebDeveloper.com"
PHP
Started 1 week, 2 days ago (2009-11-17 14:34:00)  by SrWebDeveloper
I found this post confusing, sorry. I'll do my best. If all you're trying to do is add "rf=xxxxxxxxxxx" into the existing link's href, then do something kinda like this: PHP Code: // The extracted original link $link = '<a href="http://www.zazzle.com/angry_smiley_button-14 5230291095785593" id="page_productsGrid_assetCell1-imageLink" class="realviewLink">' ;...
Thread:  Show this thread (14 posts)   Thread info: Wild-card for PHP string... Size: 3,139 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: Wild-card for PHP string... :: PHP :: WebDeveloper.com"
PHP
Started 5 days, 8 hours ago (2009-11-22 01:10:00)  by multimediocrity
Any ideas?
Thread:  Show this thread (11 posts)   Thread info: I can't upload my file with this PHP script. Why? Please help. Size: 10 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: I can't upload my file with this PHP script. Why? Please help. :: PHP :: WebDeveloper.com"
PHP
Started 1 week, 1 day ago (2009-11-19 09:04:00)  by little-persia Registered User
I'm trying to write a statement in php so when a product is over a certain amount the price changes to P.O.A... Currently if a product is sold out I can get it to be marked as sold but just can't figure it out for this... The code I'm trying is: PHP Code: Price:<span><strong> <?php if ( $rug -> data [ 'sold' ]) { ?> ...
Thread:  Show this thread (9 posts)   Thread info: php if more than a value? Size: 2,512 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "php if more than a value? :: PHP :: WebDeveloper.com"
PHP
Started 4 days, 23 hours ago (2009-11-22 09:21:00)  by jassinc
Try this... PHP Code: // properties of the uploaded file $name = $_FILES [ "myfile" ][ "name" ]; $type = $_FILES [ "myfile" ][ "type" ]; $size = $_FILES [ "myfile" ][ "size" ]; $temp = $_FILES [ "myfile" ][ "tmp_name" ]; $error = $_FILES [ "myfile" ][ "error" ]; if ( $error > 0 ) { die( "Error ...
Thread:  Show this thread (9 posts)   Thread info: PHP Upload Script Size: 3,509 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: PHP Upload Script :: PHP :: WebDeveloper.com"
PHP
Started 1 week ago (2009-11-20 02:36:00)  by multimediocrity's Avatar
I have a page with an iframe in it. Inside this iframe is a variable. I need to use this variable in the main page. How in the world do I read it out of there? I am using sessions in the inside page, but it does not seem to work. I am really stuck. Can anyone help me? Thanks!
Thread:  Show this thread (8 posts)   Thread info: Please help... I need to read a PHP variable in an iframe and am completely
stuck. Size: 565 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Please help... I need to read a PHP variable in an iframe and am completely
stuck. :: PHP :: WebDeveloper.com"
PHP
Started 5 days, 13 hours ago (2009-11-21 19:42:00)  by NogDog
You could use urldecode() on the string (it should take care of the "+" and any "%xx" characters), then apply any other changes you need to the result.
Thread:  Show this thread (8 posts)   Thread info: Escaping a plus sign (+) Size: 175 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: Escaping a plus sign (+) :: PHP :: WebDeveloper.com"
PHP
get_browser help - 7 new posts
Started 1 week, 1 day ago (2009-11-19 08:44:00)  by Benji6996 Registered User
Hi, Is there anyway I can enable the get_browser() function without editing my php.ini. I am on a shared server and do not have access to it. I really need to get the browser information through PHP not javascript. I am currently getting the error: Warning: get_browser() [function.get-browser]: browscap ini directive not set. in /websites/LinuxPackage04/am/pm/ca/ampmcateringgrou p....
Thread:  Show this thread (7 posts)   Thread info: get_browser help Size: 527 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "get_browser help :: PHP :: WebDeveloper.com"
PHP
Started 6 days, 16 hours ago (2009-11-20 16:38:00)  by criterion9
If it is a provided plugin you can use the plugins manager. Tools->Plugins.
Thread:  Show this thread (7 posts)   Thread info: Debugging in netbeans Size: 78 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: Debugging in netbeans :: PHP :: WebDeveloper.com"
PHP
Started 5 days, 12 hours ago (2009-11-21 20:45:00)  by Nateleduc Nateleduc is offline Registered User
Ok so I found a post ,by "pyro" on how to build a login only part of a website, http://www.webdeveloper.com/forum/showthread.php?t =9950 and I tried to implement it into my site. Problem is that I can't get it to work to well. Assuming that it is all set up correctly I get "you must be logged in for that 403 error". Any ideas? Here is all of my pages: http://www.sendspace.com/file/...
Thread:  Show this thread (7 posts)   Thread info: Help with my php login script! Size: 662 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Help with my php login script! :: PHP :: WebDeveloper.com"