time
and just alter existing, well-crafted code and stick this on our
secure server. How easy would it be to alter PHPMyAdmin itself?
Thanks for any insight..
Steve
--
[EMAIL PROTECTED] ** http://mrclay.org
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.ph
t. That way, worst case scenario the
hackers gets a SESSID and heads to checkout first, server restricts
real user from accessing (because of different IP).
This is my first time coding for a secure server and my first post
here as well..
Steve
--
[EMAIL PROTECTED] ** http://mrclay.org
--
PHP
riable for GPG
putenv("GNUPGHOME=/home/me/.gnupg");
//execute command
$this->error = exec($command);
//check error / read in $gpgedfile, unlink the files..
Hope this helps..
Steve
-- [EMAIL PROTECTED] ** http://mrclay.org
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ore it leaves the mySQL server (and would it be faster)?
If it makes any difference the average result row is probably around 40-50
bytes but some of these queries can return up to 850 rows..
Steve
--
[EMAIL PROTECTED] ** http://mrclay.org
--
PHP General Mailing List (http://www.php.net/)
T
Maxwell,
I tried it out. The sample test crashed the PHP 4.0.5 CGI binary everytime on my winNT
system. No script has ever /crashed/ the executable before, just might be worth note.
Steve
Friday, March 22, 2002, 12:45:11 AM, . wrote:
> I'm looking for opinions on RC4Crypt
--
thing good to say about the v2.0 betas?
Steve
--
[EMAIL PROTECTED] ** http://mrclay.org
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
GS> echo 'Finished';
?>>
I can do one better:
... ?>Finishedhttp://mrclay.org
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On mine it's in /usr/local/lib, but I seem to recall discussion earlier
about some OSX installations lacking the ini file.
-Steve
On Tuesday, March 26, 2002, at 04:53 PM, Chuck "PUP" Payne wrote:
> Can some one please tell me where php.ini is located on Mac OS X?
>
>
IE5.5";
}
Users of perfectly good browsers like Mozilla, Opera, and IE5/mac won't be
locked out.
Steve
Wednesday, March 27, 2002, 7:46:12 AM, Ron wrote:
R> How would I compare to variables where I would want one variable to equal
R> only part or some of the other v
il. Could be wrong about this though..
Steve
Wednesday, March 27, 2002, 10:10:19 PM, David wrote:
DM> 3. I am thinking that I should get an error because I presume that
DM> session_start() will attempt to set a cookie (which it appears to do).
DM> (I tried setcookie() too and the coo
x27;t need to be run often so it doesn't impact server performance any.
-steve
At 09:37 AM 3/28/02 , Ken Nagorski wrote:
>Hi there,
>
>I have a little problem. I need to run a few commands for Courier from a
>script. What I have is a php based application that makes it
ess you include break statements. e.g. try
this:
switch ($row)
{
case 1:
{
$vignette = $data[$c];
break;
}
case 2:
{
$photo = $data[$c];
break;
}
...
...
...
-Steve
On Monday, April 1, 2002, at 10:44 AM, news.php.net wrote:
> Hi,
>
Hi all,
I am looking for a PHP coder based in Sydney, Australia for a couple
of weeks work.
If you are available and based in Sydney, please email me [EMAIL PROTECTED]
Regards
Steve Farmer
--
-
"Minds are like parachutes, they work best
Try putting session_start() in your retief.php script as well as
piet.php.
-Steve
On Wednesday, April 3, 2002, at 01:06 PM, R. Lindeman wrote:
> okay i've posted something before here are my scripts either you tell me
> what i do wrong or i'll go beserk
>
> you can ch
On your first email you loop through all the news in the $newsfetch
resource. I think you need to then do a mysql_data_seek() call against
that to reset it for the next time through the loop. Otherwise you'll
just get a null result because you're already at the end of the data.
Yeah, sure.
-Steve
On Thursday, April 4, 2002, at 10:42 AM, Gerard Samuel wrote:
> Maybe a simple question.
> But can one file contain 2 or more classes??
> Thanks
>
>
> -- PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.ph
Are you using unicode? I don't know the answer for you - maybe check the
mysql site - but I'd be interested in hearing an answer as well if
anyone has one.
-Steve
On Thursday, April 4, 2002, at 12:11 AM, Dhaval Desai wrote:
> Hello people,
>
> I am making a bilingual web
ween passing by reference and by copy, though, or
you'll find yourself updating a copy of an object somewhere instead of
the original.
-Steve
Here's some code I was just playing around with:
method1();
}
function otherMethod2($object) {
return $object->method2();
Doh, typo:
// this next line would generate a parse error
// print("c:a1: " . $c->echo($a)->method1() . "\n");
should read
// this next line would generate a parse error
// print("c:a1: " . $c->echoMethod($a)->method1() . "\n");
On Thursd
time or you just need someone who can do the
same via a cron job on one of their boxes. Hope that helps.
--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Use number_format() to put a comma between the thousands
$foo = 123456789;
print number_format($foo); //will print 123,456,789
Ron Allen wrote:
> I am looking at how to format output
>
> Here is what I have. There is a simple currency conversion that I do and
> the output is just a string of nu
e. IE & NS both print the output
as expected, but in Opera all variables are empty.
Has anyone got any thoughts/solutions/experiences?
regards
Steve
--
## login page
method="POST">
Enter password:
";
print "The val
dei? Salvei? Que tal um presentinho?
> http://www.submarino.com.br/wishlistclient.asp?wlid=664176742884
>
> "Steve Fitzgerald" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > While testing a login page with different browse
with it. And, I think there's some
nominal license fee to use it on Windows.
Thus endeth my spiel -
- steve edberg
--
++
| Steve Edberg [EMAIL PROTECTED] |
Is there anyway to gather image dimentions from a gif or a jpg file? I need
to gather this information from user uploaded files and can not trust the
user to enter them correctly. Any ideas?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Does anyone know of any text editors that understand the syntax of php? I
have finally got the company I work for convinced that php is the way to go
for the web based portion of our product. I would like to find an editor
that does context highlighting (like visual cafe) to keep grumblings to a
m
I believe you want this,
http://www.php.net/manual/en/function.getimagesize.php
>
on 4/10/02 1:11 AM, Steve Klugherz at [EMAIL PROTECTED] wrote:
> Is there anyway to gather image dimentions from a gif or a jpg file? I need
> to gather this information from user uploaded file
I personally really like this,
Maybe you can customize it as needed - or someone can improve upon it !
PIN9f39f7
$rawuid = md5(uniqid(rand(),1));
$uid = "PIN" . substr($rawuid,0,6);
echo $uid;
?>
on 4/11/02 3:44 PM, ROBERT MCPEAK at [EMAIL PROTECTED] wrote:
> Could somebody
Keep in mind that there is no common memory space for all the users.
Each request is being handled by a different process with its own memory
space that's forked off of the original web server. (Assuming apache, I
don't know how IIS works).
-Steve
On Thursday, April 11, 2002, at
s of variables, very long strings stored there, and hundreds of
apache child processes.
- steve
At 2:52 PM -0400 4/11/02, [EMAIL PROTECTED] wrote:
>If I do that, won't the data that I fetch be duplicated in memory for each
>user? I'm trying to have just one space in memor
to my echo line?
Also I have an anchor tag that is a link to open an Access db. For some
reason it opens 2 copies instead of one. i have tried the following: Launch App
and
Launch App
but it seems to want to open two copies anyhow,
anyone seen this before?
Thanks,
Steve.
Or try the usort() function?
-Steve
On Friday, April 12, 2002, at 12:26 PM, Kevin Stone wrote:
> This is a terribly inneficient way of handling your situation but I
> believe
> it would work.
>
> // First we're going to make a list of all company v
Well, start here probably:
http://www.php.net/manual/en/language.oop.php
-Steve
On Friday, April 12, 2002, at 12:50 PM, Chuck "PUP" Payne wrote:
> Hi, I was up on freshmeat and I saw a TON of php classes. I like to
> know how
> can I use them? And is a class a bit o
Hi everybody,
Is there a php function I should use to launch an executable program from a
users hard drive instead of just creating a link to it??
Thanks alot,
Steve.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
g 2 copies opening when I
launch an app from an href.
Thanks alot,
Steve
Junior Software Engineer
CompexWaterloo.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
You could convert it to a timestamp using strtotime(), subtract 7*60*60,
then convert it back to a string with strftime().
-Steve
On Monday, April 15, 2002, at 09:50 AM, Torkil Johnsen wrote:
> "What date/time was it 7 hours ago"?
>
> I'm just trying to make a log us
Ryan,
You might want to look into this as a basis for some of your code,
http://agent-source.com/sitemapper/
Contains a good ammount of "spidering" code that's broken down into small
functions. ( not that I understand half of it ; )
Good luck
--
s t e v e b i s s o n n e t t e
[EMAIL PROTE
m to find the
> sure-to-be simple command to do this on php.net or phpbuilder.com, etc.
Any
> ideas?
See implode().
$fcontents_string = implode( '', $fcontents );
--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/
--
PHP General Mailing L
true, a require() nested in an
if statement will be included regardless.
Also check out include_once() and require_once().
-Steve
On Monday, October 22, 2001, at 05:15 PM, jtjohnston wrote:
> Coverting from perl ...
> What's the differencw between require and include? Where, when, wh
So both include() and require() *are* subject to conditional statements
in the code? Guess I missed that.
Thanks.
-Steve
On Tuesday, October 23, 2001, at 01:00 AM, Rasmus Lerdorf wrote:
> That's outdated. The only difference today is that if a file can't be
> included/r
print("From authenticate
HTTP_SESSION_VARS['ucAuthoUser']: ");
print($HTTP_SESSION_VARS['ucAuthoUser']->getLogin() .
"\n");
return;
}
}
showLogin($appName);
}
}
/* more functions and the class de
to figure out what I was doing wrong.
Thanks for any suggestions.
-Steve
On Thursday, October 25, 2001, at 12:07 PM, Steve Cayford wrote:
> Well, it's probably me that's confused. I have an authenticate()
> function which should start a session and if the user is not logged i
d has nothing with the PHPs internal print
> function.
Hmm. I think you're wrong here. I made this test script:
a = "hello";
}
function print() { // this is line 10
echo $this->a;
}
}
$obj = new test;
$obj->print();
?>
Which gives this:
Parse er
I think you want UNIQUE.
create table sometable (
somecolumn char(40),
someothercolum int,
unique somecolumn
)
...something like that. I haven't messed with it much.
-Steve
On Thursday, October 25, 2001, at 04:31 PM, Jeff Gannaway wrote:
> Does anyone know ho
o str_repeat( ' ', 10 ). If you wanted to create a space within HTML I'd
suggest using " " (some people prefer " "), but if you do that
within the body of a text email it should display the actual characters, not
the text, so that won't get you the desi
started
using that instead of a few months ago b/c I thought it was *more*
universal.
--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional comm
her. I had
been using since '96 and only started using in the last 2
months because I was under the impression that it was more universally
accepted.If you happen to know of a resource describing ascii
code standards or differences b/w Mac and PC character sets please let me
know on o
On Tuesday, October 30, 2001, at 11:41 AM, Henrik Hansen wrote:
> [EMAIL PROTECTED] (Alberto) wrote:
>
>> Ok, it works fine for me, i can redirection, but I don't want the
>> browser to
>> load another page, I want to IF A THEN RUN A.PHP, IF B THEN RUN
>> B.PHP, I
>> know i can use include('a
ms to have started after
daylight savings time changed. I hope someone has an idea of what's wrong
and how to fix it. As for now, I'm adding time() - 3600 * 8 to all my
scripts right now.
Steve
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTE
it is set and redirect to page 2, which will redirect to page 3,
which will redirect to page 1, etc... Can you get an infinite
redirection loop?
5. The form on page 1 includes a hidden count variable, page 2 and page
3 don't.
What happens when you run this?
-Steve
On Friday, November 2,
ms do this
> even when they are hosted at remote sites?
Some people just use mailing list programs like majordomo, mailman,
smarlist, etc. and send the newsletter out to the recipients manually...
--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/
--
PHP General
f the GET method.
Then the variables are not displayed in the query string. If you are
passing across a series of pages, after the first page you'll want to add
the variables you're going to pass to hidden input fields or use session
variables which will make the variables available th
"Nikola Karović" <[EMAIL PROTECTED]> wrote:
> how can i send bcc from my php @mail script.
mail( $to, $subject, $message_body, "From: $from_name
<$from_address>\nbcc:[EMAIL PROTECTED]" );
--
Steve Werby
President, Befriend Internet Services LLC
http://www.befr
you referenced in your post. It might be a
better idea to ask about the PHP install on cobalt-users (go to
www.cobalt.com to subscribe, after searching the archives of course) since
everyone on that list is running RaQ systems, while my guess is that only a
fraction of the people on this list
m_parts[1];
Or if it's always going to be a number b/w 0 and 1 then you could use
substr() to get the part you want. You could also use something like
ereg_replace(). Someone else may have a solution that's better.
--
Steve Werby
President, Befriend Internet Services LLC
http://ww
"Ryan Christensen" <[EMAIL PROTECTED]> wrote:
> You can do this in a per-page basis w/:
>
> $modified = stat("yourfile.html");
> echo date("l, F dS",$modified[9]);
Also see getlastmod() and filemtime().
--
Steve Werby
President, Befrie
lude the PHP code necessary to process form1.php. If
that doesn't make sense maybe you can include some code or explain in more
detail what you're trying to accomplish and what the problem you're facing
is. It's late here so maybe I'm just not thinking clearly.
--
#x27;track_vars' on to enable
$HTTP_POST_VARS and other $HTTP_xxx_VARS arrays. If that's the case -
and you can't upgrade immediately - you need to turn track_vars on in
httpd.conf, php.ini, or .htaccess (whatever's appropriate in your
setup).
Hope that helps -
- steve e
have a look at get_html_translation_table htmlspecialchars() ,
htmlentities() and get_html_translation_table.
these function do all the work for you without reinventing the wheel.
Steve
"Joe Van Meer" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> Hi the
why not just keep the module and drop the #!/usr/local/bin/php at the
beginning of each script .. ?
I've not heard of an ISP that asked for this b4 ...
Steve
"Michael Rice" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> H
you need:
{can't remember the exact syntax but it's the file type you're looking for,
opens the file open dialogue so they can choose local file}
Steve
"Don" <[EMAIL PROTECTED]> wrote in message
004a01c16b33$b43a2c60$4fad2b18@cr993021a">news:004a01c16b3
you don't need a sepaerate script.
define two functions and then loop through calling the second function.
much neater (and easier)
Steve
"David Tod Sigafoos" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I am sur
I ALT-TAB, or mouse click a different window, the Netscape
localhost issue resolves itself, the variables POST just fine, and my
page displays.
This problem does not happen in IE.
Very strange.
-Steve
"Laurence Gordon" <[EMAIL PROTECTED]> wrote:
>
> Actually I kind of made
Sure sounds like you're hitting this function twice by accident. Are you
sure you're only calling it once? That would explain why you only get
one output with the die(), but two without it.
-Steve
On Wednesday, November 14, 2001, at 10:34 AM, Christian Dechery wrote:
> I don
You can roll your own fairly easily:
function mycmp($a,$b) {
return strcmp($a[1],$b[1]);
}
usort($array, 'mycmp');
...something like that at any rate.
-Steve
On Thursday, November 15, 2001, at 10:07 AM, Richard S. Crawford wrote:
> Of the type...
>
> $array[0
Question:
I want to build php withd support for ORACLE 8i or 9i.
Normally you use the option with-oci=. So far so good.
How can I achieve this when the oracle database is running on another
server?
Thx
Haemelinck Steve
Haemelinck.be - Developers Unite (Under construction )
http
Thats sounds right becasuse anything between ... can only
will be passeed only to one script.
Steve
On Tue, 13 Nov 2001, George Pitcher wrote:
> I don't think that you can nest forms.
>
> George
>
> - Original Message -
> From: "De Necker Henri" <[
You don't need to put in the final semi-colon when running a query from
php. Take that out and you should be fine.
-Steve
On Monday, November 19, 2001, at 04:58 PM, Olav Drageset wrote:
> Hi
>
> $sql = "SELECT user FROM persons WHERE user = '$firstName'
mips processor.
Before you do ./configure edit line 105 in the PHP source distro of
ext/standard/crypt.c
and change it to:
php_srand(time(0) * getpid() * (php_combined_lcg() * 1.0));
I've upgraded Apache/PHP/MySQL dozens (maybe hundreds) of times from sourrce
on the RaQ1/2 so if you still h
ness_Name', CONCAT( Last_Name, ', ',
First_Name ) ) AS mylist
FROM My_Table
ORDER BY mylist
--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For addition
Is it possible to use Oci-functions with Oracle 9i database ?
--
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]
perl for us lazy people so i dont have to use
> commas and enter every variable name in single quotes?
I think you mean PHP not perl, but there is a way.
$required = explode( ' ', 'name address phone' );
The code above turns the space separated list into an array.
--
Steve Werby
be more than one email incoming at the same
> time...while theoretically the MTA only passes them one by one to
> whatever's next in line (whether it's procmail, or any other type of
> program)
I don't think you'll have a problem. Each call to the program should run as
a se
u have other scripts accessing the
same files/tables that may run at the same time you're ok. If there are
potential conflicts look at explicit LOCKing in the database. FYI,
potential problems related to database and file writes are not just a
product of piping to a script - the same potential e
"Ashley M. Kirchner" <[EMAIL PROTECTED]> wrote:
> Steve Werby wrote:
>
> > Exactly. It sounds like you're doing INSERTs so unless you're doing an
> > UPDATE or SELECT that can give unexpected results if another instance of
the
> > script is
lto_zipcode].value;
};
};
// Done -->
Billing
Information
Name:
Address:
City:
State:
<-- OTHER CODE SNIPPED -->
Thank you,
Steve Maroney
-
nstalled PHP countless times on dozens of Cobalt boxes so
it definitely can be done.
--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMA
options you need in ./configure. You'll get
better bang for your buck searching the archives for cobalt-users and
posting there. After all, *everyone* on that list runs Cobalt servers
whereas probably only a small percentage do on the PHP list. See archives
at marc.theaimsgroup.com and list subs
ILE 1 FILE 2 FILE 3
FILE 4 FILE 5 FILE 6 FILE 7
I would image I would use a for loop, but I cant figure it out.
Can somone assist me ?
Thanks,
Steve
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PRO
"Steve Maroney" <[EMAIL PROTECTED]> wrote:
> Now $file_list[] has some number a file names. I want print 4 file names
> into a row. Each file name has to be in its on cell.
>
>
>FILE 0 FILE 1 FILE 2 FILE 3
>FILE 4 FILE 5 FILE 6 FILE 7
>
>
>
"Deependra B. Tandukar" <[EMAIL PROTECTED]> wrote:
> How do I display the directory contents using PHP?
See readdir() in the online manual. I'm pretty sure it even has example
code you could paste in.
--
Steve Werby
President, Befriend Internet Services LLC
http://www
m the source machine to the destination
machine using FTP.
--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact
Can anyone email me directly and tell me how to subscribe to this list?
Thanks,
Steve Osborne
Database Programmer
Chinook Multimedia Inc.
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
n ListDiff List and RemoveList are NOT arrays";
}
return ($diff);
Thanks,
Steve Osborne
Database Programmer
Chinook Multimedia Inc.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact
I'm using php 4 on my machine, however the server that I am testing on only
supports php3
- Original Message -
From: "Gerard Onorato" <[EMAIL PROTECTED]>
To: "Steve Osborne" <[EMAIL PROTECTED]>; "PHP-General
(E-mail)" <[EMAIL PROT
)?
>
>Thanks.
>
--
+----+
| Steve Edberg [EMAIL PROTECTED] |
| University of California, Davis (530)754-9127 |
| Programming/Database/SysAdmin http
the dedicated hosting forum and then posting to that forum with specific
questions. With thousands of members and tens of thousands of messages
about hosting it's a better place to do your homework.
--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/
--
PHP Gen
;
>
> --
> 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]
>
>
Sorry, We're to busy with PHP !
Thank you,
S
"Danar Prabandaru" <[EMAIL PROTECTED]> wrote:
>how do I run a shell script from PHP web interface??
>
>assume /path/to/my/script.sh as the path and the owner and group of
>this script are belong to apache
See exec(), system(), etc.
--
Steve Werby
n off magic quoting. What else would cause this?
Thanks for any suggestions.
-Steve
--
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]
ng at first, though.
Thanks.
-Steve
>
> Good luck Steve,
> Tyler Longren
>
> - Original Message -
> From: "Martin Towell" <[EMAIL PROTECTED]>
> To: "'Steve Cayford'" <[EMAIL PROTECTED]>;
> <[EMAIL PROTECTED]>
> Sent:
using PHP, then no. Keep in mind that PHP is only running on the
server(*), all the client machine sees is the HTML output from your PHP
script. Maybe you could use javascript to do this, but I haven't used
javascript much.
-Steve
(*) Assuming you're using PHP
row[0];
> $serveur[$i]['connectes'] = (int) ($row[1] / $row[2]); // Error!
> $max = max($max, $serveur[$i]['connectes']);
> }
>
How does the operator precedence work in the statement ($row[1] /
$row[2]) ? You might try (($row[1]) / ($row[2])) instead,
ey\n";
> }
> }
> }
>
Are you looking for something more like this:
$modelString = "";
$makeString = "";
foreach($bikes['Road'] as $make => $models) {
$makeString .= " " . $make;
foreach($models as $model =>
Ah, well, can't help you there, sorry.
-Steve
On Tuesday, December 4, 2001, at 09:40 AM, George Pitcher wrote:
> Steve,
>
> Thanks for the response, but it's a server-side 'run' I'm looking for,
> not
> client-side (they get web access to the db).
>
entire if statement will evaluate to true.
Not what you want.
It might be easier to edit and follow your code if you rewrite as:
if ( ! in_array( $type, array( 'add', 'edit', 'delete' ) ) )
{
}
--
Steve Werby
President, Befriend Internet Services LLC
http://www.befrie
lly's 'Mastering
Regular Expressions'; a worthwhile purchase.
-steve
At 2:06 AM -0500 12/5/01, Ken wrote:
>I want to remove all superfluous blank spaces before I sent my HTML
>output, to make the output smaller.
>
>So I'd like to take $input, replace any number of b
e time it cracked the password (if it did) your user
would have likely taken their business elsewhere. On a few servers I manage
I run it periodically to check for weak passwords, then I contact the users
with weak passwords and ask that they change them.
John the Ripper: http://www.openwal
This is what I used to do what you're trying:
header("Content-Type: image/" . $imagetype); // $imagetype is jpeg or gif
header("Content-Length: " . strlen($image));
echo $image;
Note that "Type" is capitalized in "Content-Type", and include the
&q
Here's one way to do it by converting dates into timestamps.
\n");
print(strftime("date 2 is %b %d, %Y", $date2) . "\n");
print("the difference in seconds is " . $timedif . "\n");
print("the difference in days is " . ($timedif / (60 *
801 - 900 of 1688 matches
Mail list logo