|
More site info...
General Help | Forum profile
|
|
Forum profile page for General Help on http://www.phpbuilder.com.
This report page is the aggregated overview from a single forum: General Help, located on the Message Board at http://www.phpbuilder.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 "General Help" on the Message Board at http://www.phpbuilder.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 General Help:
|
|
Week
|
Month
|
3 Months
|
|
Threads:
|
70
|
231
|
642
|
|
Post:
|
234
|
720
|
1,855
|
|
|
General Help Posting activity graph:
|
Top authors during last week:
user's latest post:
Object to string conversion error
Published (2009-11-25 19:20:00)
Declare a __toString() method in the class db_object; if you want to turn an object into a string you have to explain how. If you don't want to turn the object into a string then the function you wrote is broken somewhere.
user's latest post:
cURL POST
Published (2009-11-25 19:57:00)
how would you know if its working? curl is hitting a url ( http://w3.hidemyass.com/index.php?q=...www.google.com ) and saying it did hit it. Not sure what you expect after that.
user's latest post:
register_globals
Published (2009-11-21 13:27:00)
If you just need to get get, post, and/or cookie variables, see [man]import_request_variables[/url](). If you also need access to other things that would now be in $_SESSION, $_SERVER, etc., see Example #1 at http://us2.php.net/manual/en/faq.mis...egisterglobals .
user's latest post:
Please help. PHP page cannot...
Published (2009-11-23 09:13:00)
Kreshna, I haven't run into this problem myself before, and I have used some huge pages (greater than 9k). Try the following code at the END of your page: PHP Code: <?php while ( ob_get_level () > 0 ) { ob_end_flush (); } ?> This is after all of your echo statements.
user's latest post:
cURL POST
Published (2009-11-25 22:44:00)
adding the line (I made an error in the post above, it is not commented actually): Code: curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); should output the page, shouldn't it? And can you give a working example for submitting a POST form to a remote location and getting the output?
user's latest post:
checkbox, MySql and PHP
Published (2009-11-22 09:24:00)
I tried it. To start with I am getting a syntax error. That makes sense because we are going from html to php without a tag. Any other suggestions?
user's latest post:
return one value in an array...
Published (2009-11-19 12:54:00)
the function that sends a rest request to yahoo to get the lat & longitude of the address in XML. Then it parses the address data XML into an array. It all works and I get a yahoo map. The problem is I have to trap for errors like 503 service unavailable. I get the XML address data results from this XML. Here is and example of the XML geocode results: 1. <?xml version="1.0"...
user's latest post:
[RESOLVED] register_globals
Published (2009-11-22 07:58:00)
thanks for the replies. I have contacted my host Yahoo and in October they turned register_globals completely off from working on their server. there is no way to edit a .htaccess file or put in a php.ini file they have set them up and can't access to change. I am changing servers as I need this script to run for another 3 months while the new ones are being finalized.
|
|
|
|
Latest active threads on General Help::
Started 13 hours, 57 minutes ago (2009-11-27 05:58:00)
by Kudose
One way would be to allow access if the remote address matches a predefined one.
PHP Code:
if( $_SERVER [ 'REMOTE_ADDR' ] == '192.168.10.1' ) // do stuff
Started 2 days, 5 hours ago (2009-11-25 14:34:00)
by dagon
1=true = it works!
what where you expecting, as the manual says http://nz.php.net/manual/en/function.curl-exec.php , curl_exec returns true or false
Started 1 day, 6 hours ago (2009-11-26 13:07:00)
by paulnaj
PHP Code:
<?php $arr = array( "1" , "2" , "3" ); for( $x = 0 ; $x < count ( $arr ); $x ++) { $arr [ $x ] = array( $arr [ $x ]); } print_r ( $arr ); ?>
Started 1 day, 7 hours ago (2009-11-26 12:24:00)
by vertmonkee
[RESOLVED] Strict standards error
I have a form which gets submited as post data. When I have put it on the live server IE7 is the only browser where the form does not submit.
I turned on error_reporting and got a long list of messages like this.
Strict Standards: var: Deprecated. Please use the public/private/protected modifiers in...
Started 1 day, 10 hours ago (2009-11-26 09:11:00)
by doddsey_65
Disallow upload
Hi, I have an upload image script in place and would like it so that sers can only add one image per hour.
am i right in thinking i need to insert the date and time into the database when they upload an image, and when they go to add anotherone i would need to pull the date of their last one from the database and see if it...
Started 2 days, 4 hours ago (2009-11-25 14:59:00)
by dagon
Started 2 days ago (2009-11-25 19:20:00)
by Weedpacket
Declare a __toString() method in the class db_object; if you want to turn an object into a string you have to explain how.
If you don't want to turn the object into a string then the function you wrote is broken somewhere.
Started 3 days, 7 hours ago (2009-11-24 12:07:00)
by laserlight
You may be able to use mcrypt . Is there any special reason for the selection of RC2 as the cryptosystem?
Started 2 days, 8 hours ago (2009-11-25 11:52:00)
by itaym02
General error: 2014 Cannot execute queries while other unbuffered queries are active
I have the following code:
PHP Code:
$MyPdo -> beginTransaction ();
$MyPdo -> setAttribute ( PDO :: MYSQL_ATTR_USE_BUFFERED_QUERY , true );
$MyPdo -> exec ( "update t1 set f1=1;update t2 set f1=2" );
$MyPdo ...
Started 1 day, 8 hours ago (2009-11-26 11:16:00)
by amii12
PROXY and CURL_POSTFIELDS data
Ok i have function which should allow me to vote mulitiple times depends on how many PROXY addresses is in the table $proxy, but unfortunaltely it doesnt. I check the data and all seem to be correct, addresses and POSTFIELDS are OK but the script doesnt work.
I also check that when i enter the address manually...
|
|
Hot threads for last week on General Help::
Started 1 week ago (2009-11-20 13:27:00)
by paulnaj
Hi, both of the 'array has nothing' examples are missing the opening TD tag - whereas the first 'gets filled' example does. Could it just be that?
P.
Started 1 day, 7 hours ago (2009-11-26 12:24:00)
by vertmonkee
[RESOLVED] Strict standards error
I have a form which gets submited as post data. When I have put it on the live server IE7 is the only browser where the form does not submit.
I turned on error_reporting and got a long list of messages like this.
Strict Standards: var: Deprecated. Please use the public/private/protected modifiers in...
Started 3 days, 11 hours ago (2009-11-24 08:46:00)
by Desdinova
What is the advantage of using Exceptions?
I don't seem to be able to grasp this properly.
By using exceptions and try catch blocks you can nicely grab all your errors and do anything that you want.
But why?
Errors aren't supposed to be happening in the first place, so why would you code your way around it? There's no point in ...
Started 2 days, 11 hours ago (2009-11-25 08:52:00)
by middleman666
[RESOLVED] Reading $name as string from functionname($name)
Hi All,
I'm not sure what the correct words are to search for this issue so wondered if you kind people could help?
PHP Code:
$name = ' Joe Bloggs' ;
function logname ( $name ) {
return $name ;
}
$loggedname = logname ...
Started 1 week, 1 day ago (2009-11-19 16:13:00)
by dagon
Theres no full proof way do do this. What ever format you use it can be
sent to others.
Started 6 days, 11 hours ago (2009-11-21 08:36:00)
by msnhockey
register_globals
my old scripts which were designed for me about 4 years ago required registered_globals to be on.
I never knew this but in October my host got rid of this feature and my scripts do not work. It won't allow me to have a . htaccess file, but i can have a php.ini file
my host is Yahoo.
This only needs to be temp as...
Started 2 days, 5 hours ago (2009-11-25 14:34:00)
by dagon
1=true = it works!
what where you expecting, as the manual says http://nz.php.net/manual/en/function.curl-exec.php , curl_exec returns true or false
Started 4 days, 11 hours ago (2009-11-23 08:55:00)
by big.nerd
I don't know much about output buffering, but have you tried the ob_end_flush() function?
Started 3 days, 1 hour ago (2009-11-24 18:03:00)
by cybershot
[RESOLVED] help with error in php
I am getting an error, Call to undefined function connect(). I can't figure out why, can you help? The error is coming from the getAll function
Code:
public function connect(){
if(!mysql_connect(" localhost","root","pw"))
{
echo "<h2>".$TEXT['rednote-error']."</h2>";
die();. ..
Started 3 days, 7 hours ago (2009-11-24 12:07:00)
by laserlight
You may be able to use mcrypt . Is there any special reason for the selection of RC2 as the cryptosystem?
|
|