data in a similar manner to a get
method, only without using the ? ie
to send hello = 1, mouse=brown
&hello=1&mouse=brown
in $data_to_send
Steve Dix>==<[EMAIL PROTECTED]
http://www.stevedix.de/
http://www.snorty.net/
http://www.mp3.com/simpletons
h
t to see how it works.
$pull = new pulldown(
array("name"=>"test", "size"=>"", "text"=>"A test select",
"mehrfach"=>"", "selektiert"=>"", "onchange"=>"", &
You could port Date::Calc from perl... or just call a perl script to do
the calculation. Probably the easiest way to figure out Easter (for the
extreme example) that I can think of.
-Steve
On Monday, April 15, 2002, at 03:05 PM, Tom Beidler wrote:
> That's fine for fixed dates, an
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
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
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
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
Jennifer
Check out Hub.Org Networking services
http://www.hub.org
They have Virtual Machine that can be configured to your NEEDS without
affecting other clients and vice versa. and MANY other features
including ssh, ftp, cgi/perl and I believe they have also added MySQL
3.23 to the list.
Not
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
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
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.
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
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
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
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
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
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
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] |
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
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
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
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
Does anyone here know of any good sites where there are companies
looking for contract employees listed on them? Other then main stream
sites like Monster, Dice and so on?
Thanx
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
My reccomendation is to design it for optimization on 800*600..as
that to me is the lowest common denominator.it will still look good
in 1024*760 therefore covering both resolutions nicely
Ron Allen wrote:
>
> Is there a way with PHP to determine screen resolution size???
--
PHP Gener
Thanks for the info. Apache 1.3.24 isn't a bad release to be stuck with.
:) I just wanted to be a little bit on the bleeding edge.
Regards,
Steve
"Tyler Longren" <[EMAIL PROTECTED]> wrote in message
004001c1ddf3$13d82b90$0101a8c0@nightengale">news:004001c1ddf3$
ion of PHP (1.2.x) will
successfully run on Apache 2.0 (just GA'd).
Any info on this will be greatly appreciated.
Regards,
Steve
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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
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();
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
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
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.
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
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
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,
>
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
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
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
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?
>
>
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
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
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
--
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
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
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
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
ct() first, then if that works continue
on to the mysql_query(). At least you'll know better which aspect failed.
-Steve
On Friday, March 15, 2002, at 05:14 PM, cosmin laslau wrote:
> $query = "SELECT * from mytable";
> $result = mysql_db_query("db", $query)
m the perl script should show up in the
$scriptOuputArray.
-Steve
On Wednesday, March 6, 2002, at 04:19 PM, Michael Hess wrote:
>
>
> Thanks,
>
> Ok,
> I got it to work.now how do I take a varaible back into PHP
>
>
> I do a $var = system("/path/to/cgi $varfor
If you're running a perl script on the command line you would use
/path/to/perl/script.pl value1 value2 value3 ...
In your perl script $ARGV[1] should hold value1, $ARGV[2] should hold
value2, etc.
-Steve
On Wednesday, March 6, 2002, at 02:48 PM, [EMAIL PROTECTED] wrote:
> I need t
On Wednesday, March 6, 2002, at 12:13 PM, Kris Vose wrote:
> I have a problem with reading the contents of $r[1] into a string
> called = $mail. Does anyone have any suggestions? Any help is greatly
> appreciated.
>
> Kris Vose
>
>
> if ($czero != "")
> {
>
> $t = mysql_query("SELECT * FROM
p
section all on a single page? Is the text stored in a db? Do you want the
text matching the user's search term to be highlighted? ...
--
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
es and PHP variables in the
PHP manual and apache.org (assuming you run Apache webserver). I'm sure a
quick search of google or a few Linux / PHP tutorial sites will turn
something up. I don't have any references offhand.
--
Steve Werby
President, Befriend Internet Services LLC
http://www
available since there are many that
are quite useful. Also see parse_url() in the manual since it lets you grab
each of the URL's components separately and you can supply the URL as
$SCRIPT_URI, $SCRIPT_URL or something similar.
--
Steve Werby
President, Befriend Internet Services LLC
ht
t or Flash, not PHP. You'll probably get better help if you
post a URL to the specific chatroom script you're talking about and post to
a list that deals with JavaScript or Flash.
--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/
--
PHP General
this as a base,
if PHP4's session handling isn't sufficient. I use it, with my own
hacks for my authorization needs.
-steve
At 8:38 AM -0800 2/20/02, Brandon Orther wrote:
>Hello,
>
>I loosely understand how I can have a person login to a system by giving
>them a
ssed the solution in a reply to a poster
with a slightly different problem just a few minutes ago under the subject
"Timed Jobs".
--
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
ord protecting the script so others can't access it. Others accessing
it may not be a security risk, but it could add load you don't want. Both
lynx and wget allow you to pass a HTTP user/password.
--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com
cts in the date format. It wouldn't
matter what you hardcode them as since it would use the same time of day for
both dates.
http://www.befriend.com/code_gallery/php/get_elapsed_time/
--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/
--
PHP General Mai
your questions is at the top of this (very long) page.
-steve
At 04:20 PM 2/4/02 , Liam MacKenzie wrote:
>Just a quick question...
>What is the highest port possible?
>
>I want to make a PHP port scanner, but need to know the port
a few
years ago, but I'm no longer working on that.
-steve
At 4:32 PM -0500 1/29/02, Reuben D Budiardja wrote:
>Hi,
>I am working on a projects for book cataloging. What I want to do is to input
>all the books isbn to a mysql table, either by hand or by scanning it, a
ng);
Perl-compatible regular expressions would work as well, and be
slightly faster. For more info, see:
http://www.php.net/manual/en/function.ereg.php
http://www.php.net/manual/en/ref.regex.php
http://www.php.net/manual/en/ref.pcre.php
-steve
At 12:21 PM -0800 1/26/02,
tr[1]{1}; # produces 'n'
Again, that's just what I'm assuming from the docs. A quick test
would clear it up, but it doesn't affect me right now, and I'm
feeling lazy ;)
Hope that clears up my statement...
-steve
At 12:11 PM -0500 1/17/02, Erik Price wrote
On Thursday, January 17, 2002, at 10:11 AM, Mike Krisher wrote:
> I can not wrap my head around variable variables today, not awake yet or
> something.
>
> For instance I trying something like this:
>
> while ($i<$loopcounter) {
> $temp = "size";
> $valueofsize = $$temp$i;
>
try $va
sible. Might be possible to
wrap generic function calls like this using call_user_func() or eval().
Again, I haven't tested it.
-Steve
On Thursday, January 17, 2002, at 12:07 AM, S. Murali Krishna wrote:
> Hi!
> Thanks for your kind response. The solution given by u is fine.
the page at
http://www.php.net/manual/en/language.types.string.php
(or, in Portuguese,
http://www.php.net/manual/pt_BR/language.types.string.php
).
Actually, using the [] syntax is deprecated - using {} is the new way
- but I'm a creature of habit...
-steve
A
D]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>
Brute force.
MD5 is a one way hashing Algorithm which means it was NOT designed for
encryption but it can be used that way.
Thank you,
Steve Maroney
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail:
I simply use single quotes for html and double quotes for PHP.
echo "";
works for me.
Steve
On Tue, 8 Jan 2002, Steven Cayford wrote:
> On 2002.01.09 02:00:55 -0600 universal2001 wrote:
>
> > so I tired to use (echo) like this:
> >
> >
return $result;11: } // this is line 13
that should be:
return $result; }
what's the 11: doing in there?
-Steve
> print addNums (3,5);
>
> ?>
>
> When I run it get error line 13
>
> any ideas?
>
>
> -- PHP General Mailing
;
> --
> 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]
>
>
Thank you,
Steve Maroney
--
PHP General
Well, I'll chime in as well. I'd recommend doing all your calculations
in timestamps in seconds, then convert the results into days, dates, or
whatever. If you only have a date to start with then convert to a
timestamp, do the calculation, and convert back. You could wrap it in a
function like
results[2] \n");
print("all results: ");
print_r($results);
?>
-Steve
On Thursday, January 3, 2002, at 12:15 PM, Jim Lucas [php] wrote:
> I have seen this question reposted for the past week. now why don't you
> just work with the entire thing.
>
> get the
h the
error_log = ... option.
-Steve
On Wednesday, January 2, 2002, at 05:11 AM, [@-!-%] wrote:
>
> Hello everyone!
>
> I'm having issues with my php pages. When I have errors, Instead of
> crashing or showing errors, the browser shows a blank page.
>
> For example, if I
AFAIK, it will reread the .ini file every time only if you're running PHP
as a CGI, as opposed to an Apache module (or ISAPI or NSAPI module, but I
don't think either of those are industrial strength yet). SO, yes, the .ini
file will be reread each time PHP is called by IIS.
-steve
need something like Perl's Format features but not sure.
Any advice ?
Thank you,
Steve Maroney
--
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: [
Sorry for the OT, but im trying to figure out something with mysql and
need some help.
Does anyone know how set the auto_increment value to some other number
than 0. I have an order_number coloumn and I want to start it at 1000.
So the first record would 1001.
Thank you,
Steve Maroney
There are many different fax daemons for unix and windows. Thier command
line tools are differnt. In the past, I have sent a fax by opening a
process to the command line tools provided by the fax software. I simply
use PHP variables as arguments.
Hope this helps.
Steve
On Mon, 24 Dec 2001, LDL
ED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>
Thank you,
Steve Maroney
--
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]
HTTP_GET_VARS[user_authenticated]);
but that didn't do me any good. Please advise.
Thank you,
Steve Maroney
--
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]
rote:
>
> > I would like to format numbers to be a fixed width.
> >
> > I want all numbers to be 2 characters in width to the left of the
> > decimal point.
> >
> > 1 should be 01
> > 2 should be 02
> > 3 should be 03
> >
> > How can I do this
If you're using PHP as an Apache module, you can use virtual() -
http://www.php.net/manual/en/function.virtual.php
- to include the dynamic parts; vcstatic includes could be handled by
virtual() or just a normal PHP include()/require().
- steve
At 11:09 PM -0800 12/
ction() {
...
echo $GLOBALS['PHP_SELF'];
..
}
To the best of my knowledge, PHP_SELF is set regardless of the
register_globals configuration setting, but I'm not 100% sure.
-steve
At 11:13 AM + 12/19/01, Caleb Carva
it will protect you in the future if problems
do arise.
Good luck,
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 PROTECTED]
To
hone);
If you don't hit the else block, your is_phone function is probably not
defined.
-Steve
On Tuesday, December 18, 2001, at 07:26 AM, J.F.Kishor wrote:
> hi all,
>
> I have got a problem, when I execute the following script it gives
> a Fatal error, could any one t
at escape
problem characters in databases and unescape them when retrieved.
Problem solved.
Steve Osborne
[EMAIL PROTECTED]
--
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 admin
Does anyone know of an easy way to store html code in a mysql database, and
then retreive it, in such a way that it can display the page as if it were a
standard html page? Would using php be of benefit to me?
Steve Osborne
[EMAIL PROTECTED]
*
*(borrowed from Paul)
--
PHP General Mailing
Thanks for the advice... just had to remember that the variable had to be in
php tags, as in:
Thanks for the help, problem solved.
Steve.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To
Can someone tell me how to pass a variable in the url?
I am using a form and calling a handler file as its action, as in:
I've also tried single quotes around the variable $login, as in:
Anyone have any suggestions?
Cheers,
Steve Osborne
Database Programmer
Chinook Multimedia Inc.
[
;thanks in advance.
>
--
+----+
| Steve Edberg [EMAIL PROTECTED] |
| University of California, Davis (530)754-9127 |
| Programming/Database/SysAdmin http
the last id but to no avail.
>
>Thanks
>Yoed
>
--
+----+
| Steve Edberg [EMAIL PROTECTED] |
| University of California, Davis (530)754-9127 |
| Programm
ly in that directory or
domain?
Will it be retrieved in subfolders of that directory?
Do I require special code to allow it to be accessed in subfolders?
Steve Osborne
Database Programmer
Chinook Multimedia Inc.
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e
("location: index.php");
}else{
print("The cookie plan didn't work.");
}
Any suggestions would be appreciated.
Steve Osborne
Database Programmer
Chinook Multimedia Inc.
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [E
On Monday, December 10, 2001, at 09:35 PM, phantom wrote:
> What would be an easy what to format a date value into month day year??
> I want to specially display a date stored in mysql in date format
> -MM-DD
>
> The manual says: string date (string format, int [timestamp])
>
> I tried $For
Hi. Is there a way to find the class name of a method when called in the
class::method() format? If called on an object (eg. object->method()) I
could just ask for get_class($this), but when called as class::method(),
$this should not be defined. Anyway around this?
Thanks.
-Steve
--
Is there a function or command in php that will redirect a user to another
page, similar to Response.Redirect(URL) in ASP?
Steve Osborne
Database Programmer
Chinook Multimedia Inc.
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED
registered users section. Should I be
setting the cookie on the top of the page that I am sending them to?
Any comments or suggestions would be greatly appreciated.
Steve Osborne
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
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 *
Hi Guys
I am developing with PHP and XML. Now I experience some problem with the
processing instructions of xml ()
which causes PHP to return a parsing error.
This is logical because http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
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
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
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
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
1101 - 1200 of 1688 matches
Mail list logo