Hi all.
I am preparing to install a new test server on my Windows XP machine using XAMPP, to upgrade from the very old PHPTRIAD version I put on years ago.
I have copied HTDocs to an external hard drive but was wondering if there is a way I could transfer the 40-50 databases I have in MYSQL...
Please help me!
I have migrated a shopping cart script from my test environment (PHP 4) to a live server (PHP 5).
When I open the site I get the following message:
Parse error: syntax error, unexpected T_STRING in /home/xxx/public_html/test/shoppingcart.php on line 1
Now I have been...
Hi All,
My hosting company has disabled this mail script following a spamming issue (a third party spamming, not me!!)
As it is php I thought it would be reasonably secure, but could anybody guide me on any obvious "holes"?
Thanks.
<?php
$my_email = "(email address) ";
$email =...
This may be a bit of a no-brainer so my apologies in advance :)
I am trying to separate the items in a array with commas. Straight forward enough, except I am trying make it not have a comma on the last item.
To clarify, I am trying to do this:
item, item, item
but am getting
item, item...
Please can anyone help me? I have been pulling out what is left of my hair for two days on this!
I have built a cms for a website that allows the client to add new journal entries using php/mysql.
It worked absolutely fine in my test environment (PHP4.1.1) however, as soon as I put it into...
Hi all.
A client wants a bells and whistles hit/stat counter attached to his site.
I usually use the statcounter.com freebie but he wants a more sophisticated product (and is willing to pay!!)
Any recommendations?
Thanks.
This question may prove to be threefold, so please bear with me!
Recently I have recoded my sites to include keywords in the url string as opposed to product id, i.e.
product.php?id=1234
becomes
product.php?product=shoes
The problem (if indeed it is a problem)is where there is more than one...
This question may prove to be threefold, so please bear with me!
Recently I have recoded my sites to include keywords in the url string as opposed to product id, i.e.
product.php?id=1234
becomes
product.php?product=shoes
The problem (if indeed it is a problem)is where there is more than one...
Ok, it seems so easy in principle!
I am trying to use mod_rewrite on my test machine - Windows XP, running Apache 1.3.23, PHP 4.1.1, MYSQL 3.23.27.
I have follwed a tutorial I found on the net but instead of getting the desired results I get a 400 Bad Request page.
The idea is that I request...
Hi all.
I am struggling with a query. Please can you help?
Variables are passed to a query from select options in a html form, ie:
select * from table where column1 ='variable1' and column2 ='variable2' etc
Now this works fine, but I want to add an option that returns all the values from a...
I have recently been building some large sites and have been adding repetive elements (menus, headers, footers) as include files.
This might be a silly question but will a search engine read the page as rendered html?
Hi all.
I have recently been laid off from my day job so I have seized the opportunity to push my part time web design business as a main source of income.
As part of this 'push' I have redesigned and redeployed the website for my business. The url is:
http://www.websimple.co.uk
Please could...
Hi guys. Please can anyone offer any advice on the following?
I have been given a large csv file (about 13,000 rows) for import into a mysql db. I would normally use phpmyadmin to do this but it times out when I try.
I have adjusted the file size limit but to no avail.
I appreciate that this...
A customer has asked me to add a simple guest book to their site.
This is straightforward enough but I read somewhere that the more unscrupulous might add coded entries in the message box causing a site to crash ?!?!?
Is this an old wives tale or is there a security aspect I should consider...
First some background!
I have been in the online ringtone business for a few years now. For the largest part of that the ringtone distributor would provide me with lines of javascript that would link to their product database displaying the tones on my pages.
However, I have had to change...
Can anybody help me??
I have a page that runs a sql query that returns an array of values.
I then want to run a further query incorporating each of the values from the array.
So, the first query (I have changed the names for simplicity's sake):
select c1 from table1
returns an array of 1 2...
I have developed a website based on 10 tables in a MYSQL database & I wish to create a CMS that allows the customer to add/edit/remove records.
I have created pages in PHP that achieve this before but it is a long laborious process to churn out 3 pages per table (this site would require 30 such...
This might be a simple question to answer but here goes.
I have a table with two columns - player & score.
The player column can have the same player name cropping up on numerous occasions and the score is a numerical value.
What I want to do is write a query that groups the player names and...
Hi there.
I have built a basic html form with php mail handling and it works pretty well.
However, I was getting cocky and tried to create a quasi autoresponder and now the trouble has started!!
I have extended the mail() statement like so:
elseif (mail($my_email,$subject,$message,'From...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.