ok, here is a strange one. I copied and pasted what I had posted here into my page and now it works. I have no idea why. Thanks everyone for the help.
Perplexed Bob
I now have
Parse error: syntax error, unexpected ':' in /vservers/mydomain/htdocs/home.php on line 5
<?php
$domain = $_SERVER["HTTP_HOST"];
if (($domain == “mydomain.com”)||
($domain == “www.mydomain.com”)) {
header(”location: http://www.maydomain.com/photocart/index.php”);
}
if...
I am trying to set up a redirect based on the URL requested. Below is my code. I get the following error Parse error: syntax error, unexpected '(' in /vservers/mysite/htdocs/home.php on line 4.
Any idea where I am going wrong?
<?php
$domain = $_SERVER["HTTP_HOST"];
if (($domain ==...
I know very little about php. With that said, I was wondering if it would be possible to set up a button that if clicked would gather info entered into paypal form fields and email it to both a customer and merchant. What I am trying to do is have a paypal button and an offline order button...
Anyone heard of any free editors that would recognize the editable region of a template page? This is a pie in the sky hope but you never know. I want to be able to let users update pages built with templates.
Thanks
Sorry if I am not making sense. The data is in a notepad document I hand typed. I am just trying to update the field for each record with that data. Each record has unique info for that field. I don't have a front end like php. Actually it is a coldfusion storefront software and I am cheating by...
I need to update fields in a table with specific information for each record. For example
product #1 metatitle is "bla bla"
Product #2 metatitle is "bla bla bla"
I don't know sql and only understand the very basics but this would save me from having to update each of the 800+ records one at...
I am trying to update multiple records,rows,fields in a table. Below is what I am placing in the sql field in phpmyadmin. It works with one update line but not more. What am I missing here? I looked around but can't find the answer.
UPDATE Products SET TitleTag='U.S. Air Force Retired Shop...
I have a dhtml menu above a flash movie. The movie stops when the menu drops over it. Anyone know a fix for this? if there is one. I have the window set to transparent but it does not help this problem.
Thanks
Bob
I have been having an issue trying to connect via DSN to an access DB. I noticed that when I watch the FTP log it tries to access some file in the _mmServerScripts and the response is The system cannot find the file specified. then it give an HTTP Error Code 500 Internal Server Error. I have...
I thought I would check here too... Anyone know if it is possible to control layers with a Sothink built dhtml menu?
thanks in advance for the help.
Calidude
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.