No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Materials Engineer
- PC Specs
- Pentium Centrino
193 Posted Topics
Re: Not sure why you choose JSP? It would be easier to program uisng PHP and ASP and there are tons of open source around. | |
Is there any way I can convert dynamic URL into static URL in php? i.e. convert php file into html so that the page is search engine friendly. For example: Change this: [url]http://mysite.com/pagename.php[/url] To this: [url]http://mysite.com/pagename[/url] or this: [url]http://mysite.com/pagename.html[/url] I know there is something called mod_rewrite in Apache, but not … | |
Re: Not sure this is the solution, but you do not quote the value for your variables. [PHP]// connect to the mysql server $link = mysql_connect('localhost', 'root', 'admin') or die ("Could not connect to mysql because ".mysql_error()); // select the database mysql_select_db('members') or die ("Could not select database because ".mysql_error());[/PHP] | |
Re: If you are posting within your own server, you may not need to connect to the host as shown by manishMCAIT. | |
Re: Go to ebay and you will find many available at realy good price. | |
Hi, is there any php function can read text between tags or quotes. For example, I have <h1>This is heading 1</h1> and "This is text in Quote", how can I use php to read the text between <h1></h1> tags or the text between quotes? I know I can use substr … | |
Re: PHP, CFM and ASP are ideal for voting system. All these can do the same thing using different scripting methods. It is more important to know what kind of server you are going to use (depends on budget too). PHP is open source and free to use from installing apache … | |
Re: Agreed with tgreer. Better to use post in your form and retrive the data from texarea using request.form("txt"). Here is what I would normally do: [code]mytxt = request.form("txt") ' use one of the following depend how you want to display your data mytxt = replace(mytxt, "<br>", Chr(13)) ' convert html … | |
Re: One of my site offer shopping cart. But not sure how flexible you want it to be - fully customise is possible to match your site, but the down side is the shopping cart is hosted on my server rather than yours. | |
I come across this - search engine cloaking recently and do some google search. Some people considered this is a 'blackhat' technique and the site may be banned from major search engines. I also read some articles saying this is something acceptable and will definately boost search engine ranking. Have … | |
Re: You can consider an auction site or site that interact with online users, e.g. autotrader.co.uk and friday-ad.co.uk. The great thing about those 'projects' are you can even start your own business with it! But I not sure the uniqueness of these programs as you can easily find many such scripts … | |
Re: Ms Access is definately not the wise choice for credit card application! If this is your only choice, set password to your database. You also need to host it in secure server, if you collect the cc information yourself. Like Lafinboy said, it is best to let payment gateway to … | |
Re: You may get error message by sending header after the <head> tag. You may want to replace the redirection header with javascript below: <script language="JavaScript" type="text/JavaScript"> <!-- window.location.href = "http://www.yourdomain.net/yourpage.html"; //--> </script> zippee ------------------------- [url]www.basket2go.net[/url] [url]www.store2go.net[/url] | |
Re: You can use sleep function before header('Location:http://xyz.com'). If just microsecond, then use usleep. | |
Re: I know two in the UK from my previous "research". I never use them but hope could help: 1. [url]http://www.atsdistribution.co.uk/[/url] - electornics 2. [url]http://dropship.puckator.co.uk/[/url] - gifts etc There are also a number of websites do dropship as part of their normal online selling. No matter what you want to be … | |
Re: 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 draw the information, when requested. In many websites, the programmer tends to use cms … | |
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 | |
Re: In the webpage you can use str_replace: $text = $row['text']; $text = str_replace("\n", "<br>", $text); echo $text; To prnt in one line, ignore the str_replace part. | |
Re: You may want sign up for free hosting service to test if your site looks good on "real-world". If it doesn't then you can keep on improving it. Try also on diferrent browser apart of IE, such as AOL, firefox, opera, you name it. Try [url]www.1asphost.com[/url]. Many web hosting providers … | |
Re: Make sure you change the url (of code provided by paradox) to the page you are working on. I used the similar method on my site for two years now and no single problem found. | |
Hi, when I search using "pay-per-click" Bidvertiser come to the top results. I went to the site ([url]http://www.bidvertiser.com/[/url]) and it look ok to me. I want to know if anyone use this company before? How it compared to Google AdWords? and ... Where the ads may appear on (any search … | |
Re: 2 options: 1. Build your own web server, 2. Sign up for reseller hosting package Unless you build the free hosting service for marketing purposes (generate many users who looking for free stuffs), offering free hosting service need serious money input! | |
Re: selling on eBay run an online shop operate a retail shop approach retailers organise fashion party car boot sale market stall affilliate marketing/network catalogue, flyer, brochure | |
Re: Before you can 'split' the cvs data, you need the following:[php] // after uploading using a html form $tmpName = $_FILES['userfile']['tmp_name']; $fp = fopen($tmpName, 'r'); $fr=fread($fp, filesize($tmpName)); $line = explode("\n", $fr); // etc etc ... [/php] | |
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? Here's my code: [PHP]require_once "Mail.php"; $host = "abc.com"; $from = $_POST['client']." … | |
Hi, I've developed ecommerce application sites and currently use Paypal and nochex (UK only) as tools to process my clients transactions. I wondering any other similar low cost services available to Asian market? So far I know moneybookers (limited customisation) and pppay (USA, Euro and UK only). Many Thanks . | |
Re: May I know which article you are refering to? I realy want to read the comments on shopping carts as we run one! Sorry, not familiar with zen cart. | |
Re: If you do a quick search on daniweb or google, you will find a lot of negative comments about 2CO. This is particular to seller selling e-products. I do not integrate 2CO to my sites because of this. If 2CO is your only choice, they do provide their own shopping … | |
Re: First you have to make sure 1&1 support ASP mail. Then chack if the mailserver (the host) is the correct one. Many server use localhost as their mail server. By the way, your booking page is a htm file, not asp. | |
Re: See [url]http://www.php-mysql-tutorial.com/php-mysql-paging.php[/url] | |
Re: Beware there may be some scammers out there. If you find dropshippers that require you to pay monthly fee then I would suggest you runaway as quickly as you can. They are basically making money from this monthly fee as they know you don't sell many of their items. A … | |
Re: 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 german etc. You can also use wwwww or vvv or abc as sub-domain. | |
Re: You should change the checkbox names, they are all the same now (each checkbox name has to be unique). see my other post of identical question at [url]http://www.daniweb.com/techtalkforums/showthread.php?p=156340#post156340[/url] Once your script know which course the user chose, you can do some math to sum up the fee based on post … | |
Re: You have to indicate/select the database before the query is placed [php]$dbhost = "hostname"; $dbuser = "dbuser"; $dbpass = "dbpwd"; $database = "dbname"; $sqlConn = mysql_connect($dbhost, $dbuser, $dbpass) or die ("Unable to connect!"); mysql_select_db($database) or die ("Unable to open database!");[/php] The digit after the hostname is not necessary. | |
Re: 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: [php]$data = $row['asset_name']." - ".$row['situation']."\n";[/php]When displaying the reseult, use explode fuction to separate the asset_name to the situation. I hope this help. | |
Re: 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 practice to make one work harder for you. Anyway, what is your time frame, … | |
Re: 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 back to the previous page (eg. abc.php). Do not use $_SERVER['HTTP_REFERER'] as not all browser support it. if … | |
Is there any script in php for bandwidth monitor (or is it possible to do it with PHP)? | |
Re: Use Paypal Pro - you can have the payment page look as your site, and you can have subscription too. More importantly, the fee is much lower as compared to 2CO. | |
Re: The fornt size and line height in firefox and IE are slightly different. you may have created a column too small to fit in all the text in IE (larger display font) and therefore squeezed the column toward the right. Sometime you have to add an invisible space.gif image (can … | |
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 through my online form (to me) to be authenticated. ![]() | |
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 available? I knw I may find it from hotscripts.com, but would appreciate any good … | |
Re: 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 clean. I log in at least once a week and did not notice any delay … | |
Re: 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: [php]UPDATE table SET clink = clink+1, cnlink = cnlink+1 WHERE username = '$user'[/php] Using a … | |
Re: If you only need a simple (few lines) code/script to provide basic protection, I would suggest google search for javascript password gate or similar. | |
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 variables are datetime and url) and its shopping cart content. It was alright until someone … | |
Re: 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 for more info. | |
Re: If your site is database driven, it is more important to consider which database to use before finding your servers. High-priced database like Oracle can fit into both servers, but free database like MySQL is running on Linux. Other thing to consider - applications/software available to run on your server. | |
Re: 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 to split content into pieces. good luck. |
The End.