Forum: PHP Aug 5th, 2009 |
| Replies: 7 Views: 1,056 Try http://openinviter.com |
Forum: PHP Aug 5th, 2009 |
| Replies: 4 Views: 492 <?
header( "HTTP/1.1 301 Moved Permanently" );
header( "Location: http://www.your-new-site.com/your-new-url.html" );
?> |
Forum: PHP Jul 30th, 2009 |
| Replies: 3 Views: 408 Try this code
header('Location: '.$_SERVER['HTTP_REFERER']); |
Forum: PHP Jul 17th, 2009 |
| Replies: 2 Views: 350 It's called Aggregator. You can google "RSS Aggregator" or "PHP Aggregator" |
Forum: PHP Jul 17th, 2009 |
| Replies: 7 Views: 483 Copy the following code into the file called "sample.php" It should work.
<?php
print "<pre>";
print_r($_POST);
print_r($_REQUEST);
print "</pre>"; |
Forum: PHP Jul 17th, 2009 |
| Replies: 7 Views: 483 You need to insert url for form action.
<?php
print "<pre>";
print_r($_POST);
print_r($_REQUEST);
print "</pre>";
print "<form action='<destination-url>.php' method='post'> |
Forum: PHP Nov 29th, 2008 |
| Replies: 1 Views: 355 WordPress http://www.wordpress.com |
Forum: PHP Nov 15th, 2008 |
| Replies: 3 Views: 2,072 Post your code. We cant tell the problems unless you post your codes. |
Forum: PHP Oct 31st, 2008 |
| Replies: 3 Views: 1,740 It depends on the site that you are trying to retrieve content. If the site is loading slow, then it can affect on your retrieval of content. |
Forum: PHP Oct 26th, 2008 |
| Replies: 2 Views: 782 Do you get any errors? Try to use the full path /your/server/path/to/your/application
Full codes will be appreciated. |
Forum: PHP Oct 17th, 2008 |
| Replies: 2 Views: 573 IDE: Eclipse
Server: Apache, PHP, MySQL. Try xampp or wamp as buddylee17 suggested. |
Forum: PHP Oct 17th, 2008 |
| Replies: 3 Views: 579 It's called mod_rewrite, which is an Apache module. It allows you to rewrite the requested urls.
You should read more about it here
http://httpd.apache.org/docs/2.0/mod/mod_rewrite.html |
Forum: PHP Oct 13th, 2008 |
| Replies: 7 Views: 660 Why don't you use COUNT in sql statement instead?
$qry = mysql_query("SELECT COUNT(*) FROM data_table WHERE page='$page'",$dbh); |
Forum: PHP Oct 13th, 2008 |
| Replies: 3 Views: 668 move_uploaded_file($_FILES['news1']['tmp_name'], 'files/news1.jpg');
Replace files/news1.jpg with the path + image name. You need to use the full path. E.g.,
... |
Forum: PHP Oct 13th, 2008 |
| Replies: 4 Views: 632 It's not true that ColdFusion will cut down your development time. If you need faster development time, you should try Frameworks such as CakePHP, CodeIgniter, Symphony. You will know the speed of... |
Forum: PHP Oct 13th, 2008 |
| Replies: 3 Views: 668 Post your codes in code tag. Have you tried chmod 777 on destination folder? |
Forum: PHP Oct 13th, 2008 |
| Replies: 3 Views: 525 |
Forum: PHP Oct 6th, 2008 |
| Replies: 1 Views: 346 Data should be stored in the database.
Inform user if admin makes any changes in database. Send changes via email to user. |
Forum: PHP Oct 6th, 2008 |
| Replies: 2 Views: 2,552 Clear cookie or session. If session or cookie is invalid, then redirect user to log-in page. |
Forum: PHP Oct 6th, 2008 |
| Replies: 1 Views: 321 Please write in more details about error where you get. Which line? Please put your code in php code tags in order to help you better. |
Forum: PHP Oct 5th, 2008 |
| Replies: 5 Views: 714 Assume you have hardware that meets to run your script.
If so,
1. Optimize your SQL.
2. Install memcache extension in PHP.
Hope it helps. |
Forum: PHP Oct 4th, 2008 |
| Replies: 31 Views: 2,356 It would be better if you put your code in code tag. Easier to look through. |
Forum: PHP Oct 4th, 2008 |
| Replies: 1 Views: 541 It comes from null value of date field.
Option 1
If user don't insert date, then you should do validation which forces user to input date.
Option 2
Insert default date if user do not input. |
Forum: PHP Oct 3rd, 2008 |
| Replies: 6 Views: 719 It's not true that JSP is much more secured. It totally depends on the developer of the application.
My preference is PHP for web applications. As for desktop application, I prefer Java or... |
Forum: PHP Oct 2nd, 2008 |
| Replies: 4 Views: 704 Try
http://atmail.org
http://roundcube.net |
Forum: PHP Oct 2nd, 2008 |
| Replies: 9 Views: 715 $date = '2008-09-29';
$newDate = date('d-m-Y', strtotime($date)); |
Forum: PHP Sep 30th, 2008 |
| Replies: 9 Views: 715 Replace dots with dashes. Try below.
$mydate=date("$year-$month-$day"); |
Forum: PHP Sep 30th, 2008 |
| Replies: 3 Views: 4,936 Try using @ in front of function name.
@fopen
@fread
@fclose |
Forum: PHP Sep 21st, 2008 |
| Replies: 10 Views: 1,729 You can do chmod using your FTP client. Right click on the folder/files that you need to set permissions. |
Forum: PHP Sep 20th, 2008 |
| Replies: 10 Views: 1,729 You need to chmod the folder with 0777 permission where you want to fwrite. |
Forum: PHP Sep 20th, 2008 |
| Replies: 2 Views: 679 http://www.comptechdoc.org/independent/web/cgi/javamanual/javahistory.html |
Forum: PHP Sep 20th, 2008 |
| Replies: 1 Views: 427 Take a look at
http://www.phpeasystep.com/workshopview.php?id=6
Verification email is sent after successful registration. |
Forum: PHP Sep 20th, 2008 |
| Replies: 5 Views: 617 You need to convert input search data to html entities before you find in database. php.net/htmlentities |
Forum: PHP Sep 20th, 2008 |
| Replies: 2 Views: 660 Try
explode('"', 'sudaneseonline.com/cgi-bin/posting/posting"sometex');
You'll get the string up to double quotes ". |
Forum: PHP Sep 20th, 2008 |
| Replies: 8 Views: 772 Check on fetch(). What does it actually return? |
Forum: PHP Sep 20th, 2008 |
| Replies: 7 Views: 1,127 setcookie('cookie_name', time() - 42000); |
Forum: PHP Sep 20th, 2008 |
| Replies: 5 Views: 617 Check database table. What's its collation? UTF8_*? |
Forum: PHP Sep 5th, 2008 |
| Replies: 2 Views: 530 Try this http://recaptcha.net/ |
Forum: PHP Aug 25th, 2008 |
| Replies: 1 Views: 1,038 Take a look at here. http://roshanbh.com.np/2007/12/sending-e-mail-from-localhost-in-php-in-windows-environment.html |
Forum: PHP Aug 25th, 2008 |
| Replies: 3 Views: 464 You need to use setcookie http://php.net/setcookie
After setting cookie in user's browser, then you can check whether user has the cookie.
Hope it helps. |