I have messed with this for a couple of days and cant get it right. Maybe I
need sleep :-)
The code below is echoing the qty correctly (10, 5, 25)
for ($i = 1; $i <= $sendnum; $i++)
{
$qty = $_POST['qty'.$i];
echo $qty . '';
}
The question is, how would I tak
The video is 1.5 meg and yes I can upload a PSD file that is 1.8..
Jay
Minuk Choi wrote:
How big are the video files(byte wise)?
Have you tried uploading a non-video file of the same size?
- Original Message - From: "Jay Fitzgerald" <[EMAIL PROTECTED]>
To: <[EMAIL PROTEC
I can upload just about everything with this script; but I don't
understand why it says that the videos i try to upload are zero length.
--
THE FORM
--
--
THE SCRIPT
--
ini_set ('d
',date('l, F
j',$theday),'';
}
?>
Where $i <= 31 is the number of days you want looped
HTH
Jay
-Original Message-
From: Pablo Zorzoli [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 10, 2003 2:47 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Date Listing
Hi everyone!
Let's see if you
when should i use echo ' '; vs. print ' ';
========
Jay Fitzgerald, Design Director
- Certified Professional Webmaster (CPW-A)
- Certified Professional Web Designer (CPWDS-A)
- Certified Professional Web Developer (CPWDV-A)
- Certifie
#x27;, '$_POST[description]', '$thefile1',
'$thefile2', '$thefile3', '$thefile4', '$thefile5', '$thefile6',
'$thefile7', '$thefile8'
)";
$sql_result = mysql_query($sql) or
ginal Message-
From: Jason Wong [mailto:[EMAIL PROTECTED]
Sent: November 6, 2003 5:25 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Multiple Image Uploads
On Friday 07 November 2003 05:10, Jay Fitzgerald wrote:
> Can someone help me with this? I've been trying to get it to work all
>
Can someone help me with this? I've been trying to get it to work all day :(
http://codedump.phpfreaks.com/viewcode.php?id=2061
====
Jay Fitzgerald, Design Director
- Certified Professional Webmaster (CPW-A)
- Certified Professional Web Des
I need to create a form for this example in php. I need to have an
unlimited number of seats with radio buttons next to each seat for the user
to be able to select. BUT, when the user visits this page, it needs to pull
the seats taken from the db and cross them out, rendering them inoperable
wi
sorry for the multiple mailings...I'm not meaning to spam the list, but
apparently when i send an email to the list, it takes almost 2 hours for me
to receive a copy of it letting me know that it went through ok
====
Jay Fitzgerald, D
d it, the
output gets totally fudged
but I also need it to display ALL of the seats that are in the db as being
sold and not just the first row...
TIA
Jay
At 12:00 PM 8/26/2003 -0800, you wrote:
[clip]
if ($i <= 84)
{
+ 1)
{
echo "";
}
else
{
echo "";
}
}
?>
here is what I am wanting to add - I tried placing this in several places
in this code so far (top, middle & bottom) but whenever i add it, the
output gets totally fudged
but I also ne
+ 1)
{
echo "";
}
else
{
echo "";
}
}
?>
here is what I am wanting to add - I tried placing this in several places
in this code so far (top, middle & bottom) but whenever i add it, the
output gets totally fudged
but I also ne
4)
{
?>
}
}
else
{
if ($i <= 84)
{
?>
}
}
}
4)
{
?>
}
}
else
{
if ($i <= 84)
{
?>
}
}
}
can someone please look at my code below and tell me why it is only working
half-way? It is only displaying radio buttons and seats for numbers 71, 73,
75, 77, 79, 81, 83, and 85.and it is printing seat # 76 since that is
the one in the database between seats 81 and 83why is this happe
1. here is my code: http://codedump.phpfreaks.com/viewcode.php?id=1162
2. here is a screenie of my seating chart: http://www.bayou.com/jay/chart.gif
3. what i am wanting to do is using CSS i want to "strike-through" the
seats that are in the db - else, I want them to display normally
note: the
learn
======
Jay Fitzgerald, Design Director
- Certified Professional Webmaster (CPW-A)
- Certified Professional Web Designer (CPWDS-A)
- Certified Professional Web Developer (CPWDV-A)
- Certified E-Commerce Manager (CECM-A)
- Certified Small Business Web Consultant (CWCSB-A)
d 65534 in
/home/***/public_html/news.php on line 10
0
The Question: Is there a way to get the file size of files if safe mode
is on? I need to do an IF/ELSE statement so that if the file size is
less than a certain size, then it does not display the text contained in
that file. Am I going about this the w
is the wrong way?
========
Jay Fitzgerald, Design Director
- Certified Professional Webmaster (CPW-A)
- Certified Professional Web Designer (CPWDS-A)
- Certified Professional Web Developer (CPWDV-A)
- Certified E-Commerce Manager (CECM-A)
- Certifie
When echoing html code that will include variables from a while or if loop,
which method is best?
Method 1: echo "$employer";
OR
Method 2:
If you would, please give reasons why to support your opinion.
Thanks
--
Jay Fitzgerald, Design Director - CPW-A, CPWDS-A, CPWDV-A, CECM-A, CWC
I have been writing PHP for almost a year now and someone on phpfreaks told
me the other day that my code was very sloppy.
Since I want to more more into programming than design, can anyone
recommend where to learn how to make sure your code is clean, optimized and
as error-free as it can get?
I seem to be having problem in the last step of this app I am trying to
create...can you guys test it as thoroughly as you can and give me tips on
how to improve itit is session based but I cannot seem to get step 5 to
recognize the $theseat" variable. If you would like to offer help, please
This is the code I have that is on step 4 of an event registration system i
am working on...
[code page=step4.php]
ini_set("display_errors", "1");
ini_set ('error_reporting', E_ALL);
session_start ();
$ip = $_SERVER['REMOTE_ADDR'];
$fullhost = gethostbyaddr($ip);
$host = preg_replace("/^[^.]+./"
what about for version 4.3.1??
Jay
At 01:41 PM 6/22/2003 +1000, you wrote:
Yes, for PHP >= 4.1
Justin
on 22/06/03 12:22 AM, Jay Fitzgerald ([EMAIL PROTECTED]) wrote:
> is this the correct way to register variables via a session?
>
> [code]
> session_start ();
> $_SESSION[&
is this the correct way to register variables via a session?
[code]
session_start ();
$_SESSION['eventid'] = 'arma2';
print_r ($_SESSION);
echo " $_SESSION";
[/code]
[result]
Array ( [eventid] => arma2 )
Array
[/result]
I apologize for the numerous questions, but I am trying to learn...If
anyone
field (pure html) and then u have it as $yourhiddenfield on the
> next page even u have the register global off..
>
> Nabil
>
>
> "Jay Fitzgerald" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > I have been searching for an answer to this for a couple
I have been searching for an answer to this for a couple of hours now and
cant find anything. I believe that there is a secure way of doing this but
I think my brain is having a momentary lapse...
I have these variables:
$eventid = "1";
$age = "15";
Is there a way to pass these variables to the
I am writing a php event registration system for lanparties and I believe I
have everything written that I need except for a seating selection chart. I
dont want to reinvent the wheel if I dont have to and am curious to know if
something like this has already been written as public source...
If
\n|U",$read,$result);
?>
Jay Fitzgerald, Design Director - CPW-A, CPWDS-A, CPWDV-A, CECM-A, CWCSB-A
Bayou Internet - http://www.bayou.com
Toll Free: 888.30.BAYOU (22968)
Vox: 318.338.2034 / Fax: 318.338.2506
E-Mail: [EMAIL PROTECTED]
ICQ: 38823829 / AIM: bayoujf / MSN: bayoujf / Yahoo: bay
ere a way to include the minutes of the hour in the above code, BUT
have the minutes rounded to the nearest 1/2 hour?
e.g.:
12:00
12:30
1:00
1:30
Jay Fitzgerald, Design Director - CPW-A, CPWDS-A, CPWDV-A, CECM-A, CWCSB-A
Bayou Internet - http://www.bayou.com
Toll Free: 888.30.BAYOU (22968)
V
I apologize in advance for my constant nub questions..
How can I round the current time up or down to the nearest 1/2 hour?
eg:
timeranges:
0900 through 0915 == 0900
0916 through 0930 == 0930
0931 through 0945 == 0930
0946 through 1000 == 1000
Jay Fitzgerald, Design Director
Bayou Internet
12
Saturday, April 13
Sunday, April 14
Jay Fitzgerald, Design Director
Bayou Internet - http://www.bayou.com
Toll Free: 888.30.BAYOU (22968)
Vox: 318.338.2034 / Fax: 318.338.2506
E-Mail: [EMAIL PROTECTED]
ICQ: 38823829 / AIM: bayoujf / MSN: bayoujf / Yahoo: bayoujf
--
PHP General Mailing List
e in if my logic is not correct and what exactly the |U is
doing in this function?
Jay Fitzgerald, Design Director - CPW-A, CPWDS-A, CPWDV-A, CECM-A, CWCSB-A
Bayou Internet - http://www.bayou.com
Toll Free: 888.30.BAYOU (22968)
Vox: 318.338.2034 / Fax: 318.338.2506
E-Mail: [EMAIL PROTECTED]
ICQ: 3882
can anyone tell me why this while loop fails?
==
while ($row = mysql_fetch_array($sql_result)):
$phone = $row["phone"];
$date = $row["date"];
if ($phone == "$_POST[areacode]$_POST[prefix]$_POST[suffix]"):
if ($date == NULL):
$date = "today";
What am I doing wrong here? I have a login form that visitors enter their
"use"name and "use_psswrd" in to log in...the form action is this code:
==
session_start();
if ($_REQUEST[use_name] && $_REQUEST[use_psswrd])
{
$connection = mysql_connect("SERVER","USER","PASS") o
, comments or concerns, feel free to call me at
318-338-2034.
Thank you for your time,
Jay Fitzgerald, Design Director - CSBW-A, CPW-A, CWD-A, CEMS-A
=
Bayou Internet..(888) 30-BAYOU...http://www.bayou.com
Mississippi
Can someone point me in the right direction in determining just how secure
PHP really is?
Should you have any questions, comments or concerns, feel free to call me
at 318-338-2034.
Thank you for your time,
Jay Fitzgerald, Design Director - CSBW-A, CPW-A, CWD-A, CEMS-A
);
// end if / else statement here
fwrite($phone_list, "\n");
}
fwrite($phone_list, "\t\n");
fwrite($phone_list, "");
fclose($phone_list);
?>
Should you have any questions, comments or concerns, feel fre
\t\t\t\n"
echo "\t\t\t";
echo "$home";
echo "\t\t\t\n";
echo "\t\t";
echo "\t";
echo "";
?>
Can this be done and am I going about it the right way?
Should you have any questions, comments or concerns, feel free to
Thank you for your time,
Jay Fitzgerald, Design Director - CSBW-A, CPW-A, CWD-A, CEMS-A
==
Bayou Internet..(888)
30-BAYOUhttp://www.bayou.com
Mississippi Internet...(800)
MISSISSIPPI.
Does anyone know why this isn't working?? What I am trying to do is display
photos from a database based on each month. This part works fine when I set
it to the current month of December (today) as that is when I uploaded the
photos.
However, when I manually set the date to a month that has n
42 matches
Mail list logo