Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
Ranked #12.3K
Ranked #4K
~3K People Reached
Favorite Forums

9 Posted Topics

Member Avatar for knkk

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 …

Member Avatar for knkk
0
2K
Member Avatar for jpakerla

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]

Member Avatar for matthewl
0
80
Member Avatar for Wobbie Wobbit

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? …

Member Avatar for Wobbie Wobbit
0
157
Member Avatar for Mrgrinch12
Member Avatar for baudday

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, …

Member Avatar for baudday
0
158
Member Avatar for pssubash

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.

Member Avatar for amac44
0
70
Member Avatar for markg1978

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 …

Member Avatar for amac44
0
128
Member Avatar for niths

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.

Member Avatar for sergb
0
128
Member Avatar for zia zia

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 …

Member Avatar for amac44
0
221

The End.