No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
9 Posted Topics
Re: one question, I think you have more control over headers with curl than with file_get_contents (or fopen), so the server can't easily tell if the request is really coming from Firefox 3.6.3 like it's pretending to be. You essentially have to use a captcha-related technique, but then I don't …
In something I'm working on this week I have [CODE] $cutoff = strtotime("2010-07-20 00:59"); $now = mktime(); if ($now<$cutoff) { //do something until cutoff } [/CODE]
couldn't establish connection with database -- either the user/pass/db in your config file isn't right, or the permissions or password or database name were changed in mysql (assuming that's the db you're using)? Can you otherwise connect to mysql using the user/pass you're trying to connect with in your app? …
what does your "This is the query" line output?
I'm not to the place where I can compare the merits of various frameworks, but the Jobeet tutorial for Symfony frameworks looks very promising, and I really want to go through it soon: [url]http://www.symfony-project.org/jobeet/1_4/Propel/en/[/url] I went through the Zend tutorial last year and got through it but found it confusing, …
Google How to set secure cookie using ini_set function ? . Not all values can be altered by ini_set, sometimes you can use .htaccess, sometimes you can only change it in php.ini if you have access to it.
add an action and method to form: <form action="delete.php" method="post"> Then delete.php [CODE] <?php $dirpath = "uploads"; $file_to_delete = $_POST['yourfiles']; //as named in your <select> if ( unlink ($dirpath.'/'.$file_to_delete) ) { echo $file_to_delete . " deleted."; } else { echo "Error."; } ?> [/CODE] I'm sure more error checking would …
I'd just have one loop for 1..5 then as you output the html add an if() to check for projectassign , if true output the proper html attribute -- value="checked" or whatever it is.
Just make 22. header("adduser2.php?".mysql_insert_id()); But really if you can't figure that out from [url]http://php.net/mysql_insert_id[/url] , I'm not sure what to tell you. Personally I'd rather set a session variable with the userid. Your post is kind of long and unwieldy, to get better response you need to be as concise …
The End.
amac44