See if changing
header("Content-Disposition: attachment; filename=$name");
to
header("Content-Disposition: attachment; filename=" $name);
works for you.
See if changing
header("Content-Disposition: attachment; filename=$name");
to
header("Content-Disposition: attachment; filename=" $name);
works for you.
Try:
define ("base_url", "http://mysite.com/login");
$link = base_url . 'activate.php?x=' . urlencode($e) . "&y=$a";
Never mind, I found the answer...
define("base_url", "http://foo.com");
$filepath = base_url."/foo.gif";
Try changing all instances of BASE_URL to $BASE_URL and see if that works.
I need to see the actual code line, sorry.
What does BASE_URL equal? Can you put in that line of code?
Your problem is BASE_URL. It isn't in a usable format. It needs to look like a variable.
If there are no errors but no results are displayed, check your code that displays the results. Chances are you aren't seeing the results because you don't have an "echo" statement to display them. It would help if I could see your code.
Is there an index.htm or default.htm under C:\Inetpub\www ?
If not, put one there and see what happens.
Do you have a router, cable modem, etc. at your office? You would need to know the setup before you would know how you can connect in.
If it is Windows, terminal services via remote desktop connection will work...just use the external network IP address (the one the isp assigns your router) and hopefully someone has created a port forward to the server for port 3389. If VNC, then you'll need VNC viewer...just depends on how you're setup.
Remove the device in Device Manager...in Safe Mode if necessary. Power it off. Power it back on and let the PnP subsystem do its thing and redetect it. Offer it drivers if necessary. This may take several reboots.
Look in your Access database. Check the attributes of the fields for the columns...check allow NULL values. This should solve it. Then you can insert a NULL value easily.
You can easily join two queries with the UNION keyword between the two individual SELECT queries:
SELECT xxxxxx UNION SELECT yyyyyy