> I want to resize an image before display it in the window.
> Is there a php fonction which do it ?
>
> Thanks !
>
this will actually resize the photo,
hope it helps,
Craig
/***
**
Function: resizeImag
I am sure this question has been answered, but there is a ton of data to
sift through on this. I am running Apache 1.3 and the latest PHP 4.2.3. .
I am just working with variables and I cannot seem to get them to pass from
my html file to the php call. I will get the html portion fine, but not the
think.
Just a thought,
-Craig
>>-Original Message-
>>From: Rodney Green [mailto:[EMAIL PROTECTED]]
>>Sent: Tuesday, December 10, 2002 11:35 AM
>>To: Shane; [EMAIL PROTECTED]
>>Subject: Re: [PHP] Pls Help: Moving script from Win to Linux
>>
>>
>
Using $_REQUEST[""] works because the vars are in the http request, but
$_POST[""] contains nothing as the other poster noted: mehtod="post"
>>-Original Message-
>>From: David Scott [mailto:[EMAIL PROTECTED]]
>>Sent: Tuesday, December 10, 2002 1:20 PM
>>To: [EMAIL PROTECTED]
>>Subject: [P
>>Can't be done at run-time. See table in manual.
Perhaps "programmatically" was the wrong word.
Using .htaccess files it can be set per directory/site.
http://www.php.net/manual/en/security.registerglobals.php
(read to the BOTTOM of the page).
-Craig
&g
use mysql_pconnect() if the mysql.allow_persistent directive is
enabled.
-Craig
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
>>The problem is I have to reset the SQL result array on each for
>>loop. How do
>>you do that?
$myNewArrayFullofSqlResultsThatICanLoopOverAsManyTimesAsIWant =
mysql_query($sql);
-Craig
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Set the new array before your for loops, then loop over the array.
-Craig
>>-Original Message-
>>From: Mark McCulligh [mailto:[EMAIL PROTECTED]]
>>Sent: Thursday, December 12, 2002 4:56 PM
>>To: [EMAIL PROTECTED]
>>Subject: Re: [PHP] PHP + MySQL looping qu
36 while($row = mysql_fetch_row($mysql_result))
Anyway, where do you define $row?
HTH
-Craig
>>-Original Message-
>>From: GWAD Mailinglist [mailto:[EMAIL PROTECTED]]
>>Sent: Thursday, December 12, 2002 6:01 PM
>>To: [EMAIL PROTECTED]
>>Subject: [PHP] MyS
>>>>--> line 36 while($row = mysql_fetch_row($mysql_result))
>>
>>Anyway, where do you define $row?
>>
>>HTH
>>
>>-Craig
DOH! it's been a long one...
-Craig
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ws up in the event logs.
One more question, when I make a change to that ini file, do I have to
reboot the machine or just restart IIS?
Rad Craig
Rad Craig
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
ead to see if you see anything. If its IIS SMTP server I
> beleive they are stored in c:\winnt\system32\Logfiles\\blah.log.
>
> Also to reload the php settings you just have to restart IIS.
>
> Hope this helps
> Andrew
> - Original Message -
> From: "Rad Cr
I just turned PHP authentication off and it didn't make any difference,
still didn't receive any email from PHP.
Rad...
> -Original Message-
> From: Rad Craig [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, January 05, 2003 6:37 PM
> To: PHP Mailing List
> Subject:
as built-in
support for MySQL.
Can someone PLEASE help.
Rad Craig
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ry 06, 2003 9:20 AM
> To: '[EMAIL PROTECTED]'; PHP Mailing List
> Subject: RE: [PHP] mail() not working on Win2k
>
>
> Do you have this line in your php.ini file?
>
> SMTP =;for
> win32 only
>
> -Original Message-
Where should this point to? Mine points to c:\php4\pear and I dont' have a
pear directory under \php4.
Rad Craig
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Any ideas?
====
Rad Craig
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
10:20 AM
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Subject: RE: [PHP] mail() not working on Win2k
>
>
> Hello,
>
> "Rad Craig" <[EMAIL PROTECTED]> wrote:
> > yes, I've tried:
> >
> > SMTP = localhost
> > SMTP = 127.0.0.
I run IIS5, but yes, I restart it each time I make a change.
> -Original Message-
> From: Mat Harris [mailto:[EMAIL PROTECTED]]
> Sent: Monday, January 06, 2003 10:26 AM
> To: Rad Craig
> Cc: PHP Mailing List
> Subject: Re: [PHP] php.ini - changes aren't taking?
>
t;
> On Monday 06 January 2003 17:26, Rad Craig wrote:
> > I have been trying to get my email working. I have made some changes in
> > the php.ini file in the Windoze directory, but when I run phpinfo() the
> > changes I make aren't changing on what it prints out.
&g
: [PHP] php.ini - changes aren't taking?
>
>
> On Tuesday 07 January 2003 00:26, Rad Craig wrote:
> > I have been trying to get my email working. I have made some changes in
> > the php.ini file in the Windoze directory, but when I run phpinfo() the
> > changes I make a
> -Original Message-
> From: Jason Wong [mailto:[EMAIL PROTECTED]]
> Sent: Monday, January 06, 2003 10:55 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [PHP] php.ini - changes aren't taking?
>
>
> On Tuesday 07 January 2003 00:43, Rad Craig wrote:
> >
TECTED]
> Subject: [PHP] Re: mail() not working on Win2k
>
>
> Hello,
>
> On 01/06/2003 01:21 PM, Rad Craig wrote:
> > I'm running under Win2k, new install of PHP(last week), I have
> been trying
> > to test the mail() function, but it doesn't seem to work.
such a PITA, but I REALLY need to get this thing working.
Thanks in advance.
Rad Craig
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Yeah -
then access the variable in page.php -
$_GET['lang'] == "en";
You could then store the language variable in a cookie, session or just pass
it from page to page by calling each page with "page.php?lang=xx".
Craig Roberts
"Kalle Saarinen" <[EMA
use mysql_fetch_rows();
$result="SELECT COUNT(*) FROM pet";
$sql=mysql_query($result);
$number_of_rows = mysql_fetch_rows($sql);
while ($row=mysql_fetch_array($sql)){
$pet_name=$row['pet_name'];
echo ..;
}
Craig Roberts
"Yury B ." <[EMAIL PROTECTED]> wr
inc.php file.
Messy:
Open file1.php from file2.php and read the variable out of it... ***MESSY,
SLOW AND DIRTY***
Craig Roberts
"Kalle Saarinen" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hello
>
> I was just wondering how can I get value of a varia
Have a look for MyODBC. I've got Access talking to SQL easily, dont know if
it can be done the other way round.
Craig Roberts
"Skate" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
>
> > how can I connect access database(*.mdb) with php? what is
Have you enabled the module in php.ini?
Uncomment the line
extension=php_ldap.dll
in php.ini (windows..) I think LDAP support needs to be complied in on Linux
but I've never used it so cant say.
Craig Roberts
"Ron Allen" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL P
arted typing
craig :)
"John Ryan" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> yeah, i was thinking that before i decided to post to the newsgroup. i
> thought there was some simple way of doing it and id be wasting my time.
> obviosuly not
>
>
> "
Try something along the lines of
if($current_MM < $MM) {
$age = $calculatedage - 1;
}
you'll also need to do something like this with the day of the month if the
user's bday is in the current month.
at least... i think that works out :$
Craig Roberts
"John Ryan" &l
he country table I use stores the Country Code and then the Country Name,
can send the SQL for that if you need it.
Craig
> -Original Message-
> From: Ralph [mailto:[EMAIL PROTECTED]
> Sent: 25 June 2003 06:43
> To: PHP General Mailing List
> Subject: [PHP] Sorting Co
algorithm attached to it...as long as it is
past the present date there's no way to consider it invalid without
cross-referencing against a database of active cards.
Sincerely,
Craig Vincent
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
nID = '$sessionID'
Although if $sessionID contains an integer (which I assume is would) the
quotes aren't needed, you never know. Some OSes are quirky.
Also you may want to add an
echo mysql_error();
line after your initial mysql_query to see if perhaps there's a problem
int_r($_POST[interesting_area]);
echo "";
?>
>From here it depends on what you want to do with the data..
You can loop through the array, using for(), foreach() or while(), or
alternatively write a function to manipulate the data.
Hope that helps,
Craig
"Alex Shi&
Can you be a bit more clearer with your question?
"Meltem Demirkus" <[EMAIL PROTECTED]> wrote in message
011c01c257f0$c4499780$5583@hiborya">news:011c01c257f0$c4499780$5583@hiborya...
> Hi,
>
> Can I put the "selected" option of select box later by using php?
>
> thanks
>
>
--
PHP
this:
b.php
==
";
print_r($foo); // Look whats in the array
echo "";
?>
==
Best of luck,
Craig
"B.C. Lance" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">ne
pass referring URLs at all, and
some browsers (such as AOL) do not pass referring URLs if the page now being
access was opened up in a new window. You may want to prepare for the
potential of not having a referring url be passed occasionally as well.
Craig
--
PHP General Mailing List (http://w
Edit this to what you need:
http://www.evilwalrus.com/viewcode.php?codeEx=546
Regards,
"Heidi Belal" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
> Hi,
>
> I was wondering if anybody could tell me the best way and how to code
sending an attachement with an
On your submit button put the following:
Hope that helps,
Craig
"Davy Obdam" <[EMAIL PROTECTED]> wrote in message
001a01c26f9e$a1c78a80$960a@davy">news:001a01c26f9e$a1c78a80$960a@davy...
> Hi people,
>
> Maybe a bit off-topic, but i thought le
er, but I can't find where
I've gone wrong. Any help would be greatly appreciated.
Craig Buxton
Gravity Pilot Productions
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I have been trying to include an echo statement incorporating a here
document on pages being served by my Mac OS X (v10.1.5) and Apache (v1.3)
When I try to browse test.php, which contains...
echo<<
hello...hello...
ENDOFECHO;
?>
I get a parse error. When I upload it to my ISP it works as e
I'm still having a problem with including a here document. Trying this
code:
echo <<
hello... hello... hello... hello...
ENDOFECHO;
?>
I get a parse error on line 7. Please help. I have a major project that
has ground to a halt.
Craig Buxton
Gravity Pilot Productions
[E
http://www.evilwalrus.com/viewcode/560.php
"Cj" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I'm posting this again as i got a mail saying
>
> Trend SMEX Content Filter has detected sensitive content.
>
> Place = [EMAIL PROTECTED]; ;
> Sender = CJ
> Subject =
http://www.php.net/manual/en/reserved.variables.php#reserved.variables.cooki
es
Use Superglobals...you will see what I mean.
Also, Apache 2.0 is not recommended as of yet for PHP commercial development
http://www.apacheweek.com/issues/02-06-07
Regards,
Craig
"Scott 'Intense!&
You need to have an SMS gateway..Have a look on hotscripts.com here:
http://www.hotscripts.com/search/?query=sms&category=php
Regards,
Craig
"Alexandra Aguiar" <[EMAIL PROTECTED]> wrote in message
025f01c210a6$d1657ce0$[EMAIL PROTECTED]">news:025f01c210a6$d1657ce
Will PHP ever support code protection ? Something to encrypt the php
file so when customers get copies they can't tamper with the code ;-) I
know Zend have a solution but its too bloody expensive and must be
supported by the hosting isp.
Craig
no semicolon after "include ($include)"
hope that helps,
Craig
-Original Message-
From: Stevie D Peele [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 16, 2003 3:11 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Whats wrong with my code?
Can someone spot what Is wrong wi
off the top of my head:
SELECT AVG(age), SUM(salTotal)
FROM blah
WHERE section = 3
i'm not sure if you can use the 2 functions in the same query,
you might have to break it into 2 queries.
Craig
-Original Message-
From: Ryan A [mailto:[EMAIL PROTECTED]
Sent: Wednesday, Septemb
$salaryAvg = $ageSum / $rowCount;
>
>
> > off the top of my head:
> >
> > SELECT AVG(age), SUM(salTotal)
> > FROM blah
> > WHERE section = 3
> >
> > i'm not sure if you can use the 2 functions in the same query,
> > you might have to break it int
>
> -Dan
not a chat app, but www.chefs-hat.com has an all flash front-end,
and php doing all of the backend db work. it is pretty straightforward to
get
flash and php working together.
have fun,
Craig
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
This should get you started...
http://www.sitepoint.com/article/1105/1
it is a great article assuming that you will be using a db to
store your data.
hth,
Craig
-Original Message-
From: Stephen [mailto:[EMAIL PROTECTED]
Sent: October 1, 2003 11:19 PM
To: [EMAIL PROTECTED]
Subject
13 to 350 pix in one go before
stoping, and it takes 3 or 4 tries to get it restarted.
I have set_time_limit(0); in the code, so it isn't timing out.
I can't even think what else it could be, so any help is
greatly appreciated.
thanks in advance,
Craig
if ($HTTP_GET_VARS['
it's not a time limit or safe mode issue, the script is
currently running, and has been for about 10 minutes.
it's not a fast script =(
Craig
>Is safe mode on?
>
>Craig Lonsbury wrote:
>> Hi All,
>> I have a script that takes a directory of user uploaded f
back here, it is coming up soon for me =)
hth,
Craig
-Original Message-
From: Nathan Taylor [mailto:[EMAIL PROTECTED]
Sent: October 8, 2003 2:04 PM
To: php-general
Subject: [PHP] Credit Card Validation
Hey guys (and gals),
I am sure this has been asked many times before, but I couldn
e exactly what the whole 'once' part is about, but
better safe than sorry.
thank you,
Craig
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
; && $file != "..") {
$filesArr[] = trim($file);
}
}
closedir($handle);
}
return $filesArr;
}
hth,
Craig
-Original Message-
From: Bas [mailto:[EMAIL PROTECTED]
Sent: October 17, 2003 6:42 AM
To: [EMAIL PROTECTED]
Subject: [PHP] How
are you using windows or *nix?
There is a good dictionary (I think it is called dict)
built into most *nix distros,and have yet to find a
good dictionary for windows.
maybe someone else knows a good one =)
Craig
> -Original Message-
> From: pete M [mailto:[EMAIL PROTECTED]
sent, maintains code readablity, and
doesn't adversely affect script execution time.
Craig
> -Original Message-
> From: felix zaslavskiy [mailto:[EMAIL PROTECTED]
> Sent: November 5, 2003 8:35 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Re: High bandwidth application tips
t for topics such as these!
>
I couldn't agree more.
Craig
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
capability?
Thanks
Craig
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ional features but I would consider
it well worth it to a company rather than spending countless tech hours and
security testing to prevent the source from being viewed.
http://www.zend.com
Sincerely,
Craig Vincent
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [
000 - 1500 individual emails per minute with minimal
resources consumed on the system so a solution of this nature more than
likely will work out in your favor.
Sincerely,
Craig Vincent
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional comman
roblem would be much appreciated =)
I've been plagued with this problem for a few days now and I'm having no
luck =/
Sincerely,
Craig Vincent
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTEC
SELECT MAX(scorevalue) FROM score
Will display the maximum value of your scorevalue column.
Sincerely,
Craig Vincent
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list
untested!
The reason for the if statement is that str_repeat will produce an error if
17-strlen($word) <= 0 and that'll break your scriptof course you could
remove the if state if you're positive the # of characters in $word never
exceeds 16.
Sincerely,
Craig Vincent
--
s.
Sincerely,
Craig Vincent
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
Have a look here...
http://www.planet-source-code.com/vb/scripts/ShowCode.asp?lngWId=8&txtCodeId
=585
Craig
"Jason Whitaker" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I am looking for a pre-wrote script thats does the sa
sr/local/mysql
> --with-apache=../apache_1.3.24 --enable-track-vars
> --with-gd=../gd-1.8.4 --with-png-dir=../libpng --with-zlib-dir=../zlib
What version of PHP are you using?
Sincerely,
Craig Vincent
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
forums here for phpBB. You may want to search here to see
if there have been others with a similar problem. My guess would be that
you don't have an smtp setup on win 98.
Sincerely,
Craig Vincent
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
elping to resolve your issues.
Sincerely,
Craig Vincent
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
io if your admin has done his
job properly is one could manage to erase all the other php uploaded files
if they found an exploit.
Sincerely,
Craig Vincent
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
#x27;t find my notes so I can't give you an exact
answerhowever if I remember correctly by sending a 401 error header to
the user when they log out it will force the browser to re-request
authentication
Sincerely,
Craig Vincent
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
d to grab the 19/Apr/02 count of 181756. But the date will change
daily. So it would need to always grab last number from second to last line.
Any suggestions?
Thanks
Craig ><>
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
x27;m doing this a counter script will be reading this file, but
NOT writing to it. Will the file need to be locked while adding $newnumber
to it?
Thanks
Craig ><>
[EMAIL PROTECTED]
to do this once a day to correct a poor count.
Thanks
Craig ><>
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I have a string that ends in a comma. What is best method to remove the
comma?
Craig ><>
[EMAIL PROTECTED]
Wouldn't it be better to check to see if charicater is indeed a comma before
removing it?
I was guessing eregi_replace would be the way to go.
Am I thinking wrong?
Craig ><>
[EMAIL PROTECTED]
First, you'll need to get the length of the str with the str_len() function.
Im using session in my form, there are 6 pages to the form, It all works
fine, until You work your way back through the form, to ammend the filled in
details.
e.g - If I go to page 1, and fill out my name, and post to the next page,
heres the code Im using:
PHP:
You should use session_start(); on every page that u want to pass session
information..
Craig
"Jeff Lewis" <[EMAIL PROTECTED]> wrote in message
00d601c1ec72$072a63d0$76a1a8c0@LEWISJCIT">news:00d601c1ec72$072a63d0$76a1a8c0@LEWISJCIT...
> I am storing session informati
] => 23/Mar/02
[12] =>
[13] => 24/Mar/02
[14] => 25/Mar/02
[15] =>)
Thanks
Craig ><>
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
number 30. Is $file somehow retaining value of 30 and not getting new value
of 45 when script runs second time? What is it called when this happens?
Thanks
Craig ><>
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
rkto have a checkbox autochecked the HTML must be
similar to
So a sample coding might be
>
Sincerely,
Craig Vincent
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
now I'm hooked on TextPad. Let us know if you have any
> experience using Dreamweaver MX.
I don't know about thatI've used Dreamweaver Ultradev for years and it
worked great for my PHP/HTML coding. I haven't tried MX but am curious as
to how it may work.
S
7;ll sleep better at night using mysql_close() =)
Really the question to ask is why shouldn't you use mysql_close()? Overall
it is better for your system and relieves you of worrying about any
potential memory hogging or MySQL connection rejections.
Sincerely,
Craig Vincent
--
PHP General
pass the name of a parent
function to a child function. However you could always pass the parent
function's name to the child function as a normal parameter.
Sincerely,
Craig Vincent
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
are created so say you create the cookie on page
A, until the user refreshes page A or goes to page B the cookie won't
actually be in effect.
A snippet of your code would be helpful as well
Sincerely,
Craig Vincent
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
MOTE_USER
to equal the apache authentication username
easiest method (for me anyways) is:
$REMOTE_USER = getenv('REMOTE_USER');
Sincerely,
Craig Vincent
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
n name goesyou actually don't need to specify oneby
default the session name is PHPSESSION and really unless you have a real
reason for using a different session name there is no real benefit to
specifying another session name (afaik).
Sincerely,
Craig Vincent
--
PHP General Mailing List
t; tables get wight bigger..they are set to wight=100% . thanks for
> any help or any suggestion what should i do.
http://www.php.net/manual/en/function.wordwrap.php
This I think is exactly what you're looking for.
Sincerely,
Craig Vincent
--
PHP General Mailing List (http://www.php
ile on your system. There's an exact example
of this on http://www.php.net/manual/en/function.include.php example 11-5.
Basically you need the include to be an http link...not a local link
ex.
include("http://www.foobar.com/index.php?lext=php?start=8";);
Sincerely,
Craig Vincent
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
it if a
person refreshes the page or returns to that page using the forward/back
navigation buttons on their browser.
Sincerely,
Craig Vincent
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ints use the round()
function. However if you don't want to round and instead just want to
truncate the number, the number_format() function would be what you need.
Sincerely,
Craig Vincent
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
please? It may help shed
some light on your situation.
Sincerely,
Craig Vincent
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
php directory *and* copy the files.
It means that DirectoryIndexing is enabled in apache =) you can either
disable that (recommended) or as a quick fix put a blank index.htm (or .html
file) in that directory so when someone calls up just the directory they get
that blank page.
Sincerely,
Craig Vincent
--
What am I doing wrong? I get parse error between first echo statement and
else.
Thanks
Craig ><>
[EMAIL PROTECTED]
";
else
echo "";
}
?>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I found my problem.
>From manual:
"file_exists() will not work on remote files; the file to be examined must
be accessible via the server's filesystem. "
File is on another server. Is there a way to check if file exists on another
server?
Craig ><>
[EMAIL PROTECT
gly urge you to get a deposit for any projects
you're going to work on. Such a retainer is perfectly acceptable in a
circumstance like thisand it protects you from companies deciding to
terminate a project mid-development (or if they don't pay you, you at least
get somethin
uspect you meant
quantity=$quantity (again if it's not an integer you need single
quotesheck put single quotes around it anyways...it doesn't hurt)
$sql = "UPDATE Book2 SET stock ='$stock-quantity' WHERE
booktitle='$booktitle' AND quantity='$quantity'&
, just the MySQL server trying
to execute the query).
Sincerely,
Craig Vincent
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
101 - 200 of 314 matches
Mail list logo