Hello,
I went to bed last night and this was working. I woke up this morning
and something has happened or someone has tampered with it. I have
noticed that the LONGBLOB in the database which stores the actual binary
of the image states that it contains 25.3k and the actual 'image_size'
field st
Dear List,
I'll say it again, after viewing ALL of these 'hosting question' postsIf
you want really good, reliable, dependable service AND an excellent
combination of MB storage space and Transfer MB's then take a look at
http://www.webmasters.com
They even have 24 hour toll free phone suppor
Hello,
I have a mysql statement listed below. The table contains about 100
rows of information. Only one row matches the $criteria. Can anyone
tell me why the count($myrow) is 8? Shouldn't it be 4 (id, vanNumber,
origin, destination)?
$criteria = "02-25-2003";
$result = mysql_query("SELECT id
Hello,
Trying to author my own PHP database table back up utility. A very
simple one at that...
Here's my sql statement to select everything in the table:
$sql_daily = "SELECT * FROM dailytable";
$run_sql_daily = mysql_query($sql_daily);
$result_sql_daily = mysql_fetch_array($run_sql_daily);
H
tart at the beginning of the login script
>
> On Fri, 2003-03-21 at 12:31, Guru Geek wrote:
> > Hello,
> >
> > I'm trying to use sessions for the first time.
> >
> > I have a log in script that gets the user to enter their name and
> > password. Then t
Hello,
I'm trying to use sessions for the first time.
I have a log in script that gets the user to enter their name and
password. Then the script compares the entered data to a database. If
the entered data matches whats in the database then the user is granted
access to the main php script.
b
Hello,
I've been having extensive email conversations with people over at
MySQL.com's email list. From what I'm able to prove using myphpadmin,
my problem is not with the query, but with how PHP handles it.
All I want to do is open a text file, read in two van numbers that are
there. I want to
Simple program that opens a txt file and reads two van numbers. Then,
for each van number, it opens a database and grabs the sum of the gross
pay column.
The problem is I get 'Resource id3' for the first van's gross pay and
'Resource id4' for the second van's gross pay.
Here's the code:
if ($vi
When this happens to me I always just echo the variable value like so to
see if something is there that shouldn't be:
echo "";
echo "$id";
echo "";
obviously all this does is print the variable with a bunch of c's before
and after. That way I can see if there are any extra things include
Hello,
Yep, me again, with yet another php question.
Maybe I'm too tired to see the easy solution...
I open a file and write to it:
$handle = fopen ($temp_file, 'a');
fwrite($handle, $original_info);
fclose ($handle);
Later I want to add to the above file:
$handle = fopen ($temp_file
Hello,
I have an array called $array_of_files.
I want to echo each element of that array as a link to itself.
That way when I click on an element I can send it as an actual value
Here's my code:
for ($counter = 0; $counter < count($array_of_files); $counter++)
{
$category = $array_of_files[$co
Hello Everyone,
I've been working on a small pet project of mine. It involves link
management for my site. I want to be able to tell the program how many
links to display from each of my link files. The program is then to go
to that individual link file, randomly pick out how ever many links I'
I was wondering, can you call a php script in the middle of a html page?
I've seen some sites use code like this:
Untitled
HELLO WORLD!!!
but when I try it, the php script doesn't run.
Does anyone else know how to use php on a page and yet keep the .html
extension?
Thanks in advance,
I'm new to PHP but I had a similar problem. I was comparing information in a
flat text file with a variable in my php code. They never matched according to
the php. I echo'd both values to the screen and they matched. So then I echo'd
them to the screen with three 'a' in front and three 'a' in
#x27;m so new to PHP I'm
taking it in baby steps...
Philip Olson wrote:
> On Mon, 27 Jan 2003, Guru Geek wrote:
>
> > Sorry, here is the code now ( I need a nap )
> >
> > $filename
> > ="/usr/local/plesk/apache/vhosts/myserver.com/httpdocs/include/text.txt&q
Sorry, here is the code now ( I need a nap )
$filename
="/usr/local/plesk/apache/vhosts/myserver.com/httpdocs/include/text.txt";
$handle = fopen ($filename, "r");
$contents = fread ($handle, filesize ($filename));
fclose ($handle);
echo $contents;
exit;
Guru Geek wrote:
Here's my code now:
$filename =
"/usr/local/plesk/apache/vhosts/myserver.com/httpdocs/include/text.txt";
$handle = fopen ($filename, "r");
$contents = fread ($handle, filesize ($filename));
fclose ($handle);
echo readfile($filename);
exit;
now it displays the contents of the text.txt file. I ori
Hello,
I'm a recent convert from CGI/Perl and so am still getting my feet wet
in PHP.
Here's my code:
$filename = "http://www.myserver.com/include/sometext.txt";;
$handle = fopen ($filename, "rb");
$contents = fread ($handle, filesize ($filename));
fclose ($handle);
echo $contents;
exit;
The pro
Hello,
Here is one of my smaller PHP projects. I'm trying to finish it before
I move on to my CMS project.
http://www.g-i-w-s.com/linker_admin.php
The script does nothing more then manage links. It lists an indexed
number of the link, a url, a text description and a delete option.
Here's my q
Hello,
I've decided that for my first real PHP project I'm going to create a
Content Management System that is PHP based. I was wondering if anyone
out there had any thoughts, idea's or suggestions before I get started?
Does anyone out there have any working examples of a PHP based CMS?
Thanks,
Hello,
I'm trying to use getdate() and then create a numeric value based on
putting the month (numeric), the date, and the year all together, side
by side in one variable.
Here's my code:
But all I get is a blank when I look at $date in the browser. Any idea
why that is?
Thanks in advance,
Ro
21 matches
Mail list logo