Forum: PHP Mar 17th, 2007 |
| Replies: 4 Views: 2,911 No response after a week... :(
Is that mean no one encountered the same problem? |
Forum: PHP Mar 17th, 2007 |
| Replies: 4 Views: 1,191 www1, www2, and any other number are all sub-domains. The main reason of using sub-domain is making the site more organise. For example, use www1 for english version, www2 for spanish and www3 for... |
Forum: PHP Mar 10th, 2007 |
| Replies: 4 Views: 2,911 My customers who use AOL email cannot receive my email generated from php script I use. I try to look into AOL email guide but do not have a clue how to solve the problem. Please can anyone help?... |
Forum: PHP Sep 26th, 2006 |
| Replies: 2 Views: 1,269 Are you using database? If so, in the output, arrange the data (both asset name and situation - patched or not) into a single array. For example: $data = $row['asset_name']." -... |
Forum: PHP Sep 26th, 2006 |
| Replies: 3 Views: 2,538 em... interesting. I was thinking of storing results from both tables (separate full-text search as you mentioned) in array, then sort them based on their scores, and display them. Not sure this... |
Forum: PHP Sep 26th, 2006 |
| Replies: 3 Views: 2,538 Hi, I managed to use the full-text search on a single table (product) and would like to search two tables (product and article) simultaneously, when user enter a keyword. Can anyone help?
Thanks |
Forum: PHP Sep 15th, 2006 |
| Replies: 2 Views: 2,116 In the text/image link to shopping cart, add extra information about the current page, for example xyz.com?ref=abc. The information in ref can then retrive in the shopping cart so that sending user... |
Forum: PHP Sep 14th, 2006 |
| Replies: 1 Views: 3,366 Is there any script in php for bandwidth monitor (or is it possible to do it with PHP)? |
Forum: PHP Sep 12th, 2006 |
| Replies: 10 Views: 2,334 Every programmer write for $$$. This is a fact.
I would suggest you to get a business partner rather than hire a programmer, if you cannot trust the quality etc. Profit sharing is alway a good... |
Forum: PHP Sep 11th, 2006 |
| Replies: 2 Views: 1,265 CMS, as its name, use script and database to manage content/information. A good example is this forum. All posts and topics, as well as codes and blogs are kept in database and using php script to... |
Forum: PHP Jul 24th, 2006 |
| Replies: 2 Views: 5,837 Is there anyway I can implement user authentication, such as Sender-ID in php mail function? I like to have email send out from my mail server (from me to clients) as well as email send by users... |
Forum: PHP Jul 22nd, 2006 |
| Replies: 9 Views: 6,166 PHP script always executed at the background, if not mistaken.
I run my maintenance routine everytime I log in to my admin area. It will not affect my clients' site and yet keep my database... |
Forum: PHP Jul 20th, 2006 |
| Replies: 11 Views: 4,132 I disabled session.use_only_cookies as I come across a few articles that saying the PHPSESSID is not search engine friendly?? I think this spark the idea of having my own string attached to the URL... |
Forum: PHP Jul 19th, 2006 |
| Replies: 3 Views: 1,875 Hi there, I am trying to integrate a simple mailing list/newsletter script (in php) to my site, which will be share by my clients (to their customers). Is there any off the shelve and free one... |
Forum: PHP Jul 19th, 2006 |
| Replies: 13 Views: 2,872 I would suggest you go through a few hit counter scripts, as I found your application are quite similar. Try hotscripts.com and there should have a few hundred similar scripts.
I once wrote a... |
Forum: PHP Jul 19th, 2006 |
| Replies: 2 Views: 3,337 You need to use move_uploaded_file function to transfer the image from your harddisk (temporary storage site) into a web server (which it can be your localhost or a online hosting). Check php.net... |
Forum: PHP Jul 18th, 2006 |
| Replies: 13 Views: 2,872 No one can see your localhost... But the text appear in the link did showed that you have problem in line 46 (?) or more precisely is you did not define $actionid in your program. If the value is... |
Forum: PHP Jul 17th, 2006 |
| Replies: 5 Views: 9,999 Before you can 'split' the cvs data, you need the following:
// after uploading using a html form
$tmpName = $_FILES['userfile']['tmp_name'];
$fp = fopen($tmpName, 'r');
$fr=fread($fp,... |
Forum: PHP Jul 16th, 2006 |
| Replies: 5 Views: 8,020 You have to fopen first before you can fread or fget.
$template = './email/signup.html';
$fd = fopen($template,"r");
$message = fread($fd, filesize($template));
// try output it on screen to... |
Forum: PHP Jul 15th, 2006 |
| Replies: 11 Views: 4,132 I do not use users authentication as my website (should be 'service' to be more precise) provide shopping cart facility to hundreds of websites, which do not require user to login etc. |
Forum: PHP Jul 15th, 2006 |
| Replies: 4 Views: 1,473 See my other post at http://www.daniweb.com/techtalkforums/thread49390.html. It show you how to create thumbnail on the fly when you upload an image. Also show you alternative method by resizing... |
Forum: PHP Jul 15th, 2006 |
| Replies: 5 Views: 8,020 You can use Fread function to get the content of your webpage to $email variable. Then use str_replace function to replace any thing you want to change. If needed, you can also use explode function... |
Forum: PHP Jul 13th, 2006 |
| Replies: 1 Views: 1,014 Try defragment it to cure slowness. |
Forum: PHP Jul 13th, 2006 |
| Replies: 5 Views: 7,955 Not sure this is the solution, but you do not quote the value for your variables.
// connect to the mysql server
$link = mysql_connect('localhost', 'root', 'admin')
or die ("Could not connect to... |
Forum: PHP Jul 13th, 2006 |
| Replies: 1 Views: 4,531 Several header misplace were found in your script:
1. session_start() should go before defining your session_name.
2. Setting a value to session at mid of the script, after header was sent. You... |
Forum: PHP Jul 12th, 2006 |
| Replies: 4 Views: 2,349 You cannot have setcookie or any other kind of header after echo (even HTML ones). You may have to swap the condition as follow:if ($num_rows > 0) {
setcookie("loggedin", "TRUE", time()+(3600 *... |
Forum: PHP Jul 12th, 2006 |
| Replies: 11 Views: 1,639 Try this <?php
echo '<a href="gallery.php?value='.$prevValue.'">Previous</a></br>';
echo '<a href="gallery.php?value='.$nextValue.'">Next</a>';
?> |
Forum: PHP Jul 12th, 2006 |
| Replies: 11 Views: 4,132 Many of you may aware that AOL using floating IP address to manage their internet connection. When I develop my shopping cart, I used IP address as one of the variables to identify user (other... |
Forum: PHP Jul 12th, 2006 |
| Replies: 4 Views: 2,349 You may need to make the $age become numeric rather than string. Try adding this line $age = intval($age);You can double check the value using is_numeric function. |
Forum: PHP Jul 12th, 2006 |
| Replies: 13 Views: 2,872 It would be useful to check the source code for each page, for example in your action.php page, make sure the link created is correspond to the action id you post from one page to another. You SQL... |
Forum: PHP Jul 12th, 2006 |
| Replies: 2 Views: 1,599 You may have to use your ISP's SMTP setting. For example, I have to swap the SMTP setting for receiving mail at home and in the office using the same laptop. |
Forum: PHP Jul 12th, 2006 |
| Replies: 3 Views: 2,588 Glad to hear that the code is useful. |
Forum: PHP Jul 10th, 2006 |
| Replies: 3 Views: 1,149 If I were you, I will change my provider straightaway, they should provide more help or at least point you to a right direction.
Yes, you can use PHP with IF...ELSE function. However, please... |
Forum: PHP Jul 10th, 2006 |
| Replies: 3 Views: 2,588 The BCC is part of header:
$headers="From: " . $_POST['email'] . "\r\n" .
"Inquiry: " . $_POST['inquiry'] . "\r\n" .
// ect etc
"Contact: " . $_POST['contact'];
"BCC: " . $_POST['email'];
... |
Forum: PHP Jul 10th, 2006 |
| Replies: 13 Views: 2,872 You can create a table which contains username and names of all the 9 links (3x3). When the user login, the counter only update the number of click of this user, not others. For example:
UPDATE... |
Forum: PHP Jul 10th, 2006 |
| Replies: 8 Views: 20,502 If you are posting within your own server, you may not need to connect to the host as shown by manishMCAIT. |
Forum: PHP Jul 10th, 2006 |
| Replies: 6 Views: 19,526 Since you have post it in PHP section, we should at least do it in PHP way :cheesy:
If the content of other site is store within the same folder, you can use include function to get the content to... |
Forum: PHP Jul 5th, 2006 |
| Replies: 2 Views: 4,068 see http://www.php-mysql-tutorial.com/php-mysql-paging.php
so far the best tutorial I've seen about paging your results |
Forum: PHP Jul 5th, 2006 |
| Replies: 13 Views: 1,948 shaocpa, I see all you need is a site generator or store creator/builder. there are plenty of service providers around (including us). What the service would include, in general:
1. a web front... |
Forum: PHP Jul 5th, 2006 |
| Replies: 2 Views: 5,120 You can use javascript onClick function (or onChange if to remove the need of the first button) to execute php code/function to print/echo the post /get value to the next box. |