|
More site info...
|
|
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.
|
|
|
|
|
Posting activity on PHP:
|
|
Week
|
Month
|
3 Months
|
|
Threads:
|
144
|
477
|
1,401
|
|
Post:
|
538
|
1,594
|
4,597
|
|
|
PHP Posting activity graph:
|
Top authors during last week:
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.
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?
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.
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...
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
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?
user's latest post:
Happy Thanksgiving
Published (2009-11-25 11:49:00)
Thanks Jim, Happy Turkey Day from Seattle.
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::
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)
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 ?
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
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.
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="{$_...
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 ...
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 ...
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,...
|
|
Hot threads for last week on 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 ...
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">' ;...
Started 5 days, 8 hours ago (2009-11-22 01:10:00)
by multimediocrity
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' ]) { ?>
...
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 ...
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!
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.
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....
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.
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/...
|
|