Hi,
this is slightly off-topic, but it must be a common issue - Google doesn't seem to think so though :(
A customer has sent me a .indd file, but I don't have InDesign - is there a way to open it?
After searching, I've found out you can open the file in Pagemaker, but then the file then...
It sounds like you know more than me anyway! :)
I don't know what db class that is, but is there an error function in there?
Maybe:
[code]
$db->query("INSERT INTO {$tbl_prefix}webs (tid, school, subject, theme) VALUES('$_SESSION[id]', '$school', '$subject', '$theme')");
if (!$db->error())
{...
Yes I was using session_start. THis is a bit embarrasing, but the hard disk on our test server was full up, which meant no sessions could be saved! :0[
For others out there who didn't know this, note that no errors seem to be produced if the disk gets full and you want to use sessions.
Thanks...
HI I have a very simple login script that I've used quite a few times before, which checks username and password against database fields.
session_start();
require_once("../includes/inc.database.php");
$strErrors = "";
if (isset($_POST["submit"]))
{
$user =...
Because the upload_max_filesize was in my checklist this was obvously something I'd checked. The master value was 60M, and the local was 0, but even though I've changed them both now to 60M, uploads of 5220 bytes and over are still failing :(
Hi,
I am trying to upload files to a Linux server running PHP and Apache, but I can't currently do it with files greater than 5119 bytes. (if I try to upload something that's 5020 bytes I get error code 1)
I was just wondering wether I'm missing something from my lovely checklist:
HTML...
Fo reference I should have said how it was fixed!
I changed:
$result = mysql_query ($sql, $conn);
if(!$result){
echo mysql_errno() . ": " . mysql_error();
}
to:
$result = mysql_query ($sql, $conn) or die (mysql_errno .":". mysql_error());
erm.. also I can't seem to thank/star anyone in...
This is getting a bit out of hand - sorry, I thought this would be a common error!
<form enctype="multipart/form-data" name="form1" action="<?php echo $_SERVER['PHP_SELF'] ?>?ticketid=<?php echo $_GET['ticketid'] ?>" method="post" onsubmit="return validate()">
<table width="75%" cellspacing="1"...
This is actually hosted on my free Lycos Tripod webspace! (don't laugh), but the phpinfo script says:
OS = Linux (Debian GNU/Linux)
server API = CGI
I would guess the web server is Apache(?)
Thanks again
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.