> Date: Thu, 15 Nov 2007 10:17:29 -0500
> From: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
> Subject: Re: [PHP] Is there a 'Beginner's' PHP List
> CC: php-general@lists.php.net
>
> On Nov 14, 2007 10:29 PM, Instruct ICC <[EMAIL PROTECTED]> wrote:
>
> No access to the server command line to install it!
> And, I am into this guy too deep to switch technologies. For the next time
> around, no problem, this time I am just trying to get php to do what it is
> supposed to do.
[sarcastic]Rough install.[/sarcastic] If you can write a php script, y
> >> Something like the following would be much better (untested)...
> >>
> >> $page = realpath(dirname(__FILE__).'/inc/'.$_GET['page'].'.php');
> >> $expecteddir = realpath(dirname(__FILE__).'/inc');
> >> if (substr($page, 0, strlen($expecteddir)) != $expecteddir)
> >> {
> >> // Ideally retu
> My server is down right now so I can't do my usual example script.
A likely story.
Just kidding.
Stut, YOU WERE RIGHT, AND I WAS WRONG.
Your code is golden.
_
Help yourself to FREE treats served up daily at the Messenger Café. S
> >> No, you've missed the point. $expecteddir is a fixed variable that you,
> >> the script author, specify. It does not contain anything coming from
> >> external veriables. You then compare the full path you build from the
> >> external variables to $expecteddir to verify that the file is in
> Date: Thu, 15 Nov 2007 13:16:46 +
> From: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
> CC: php-general@lists.php.net
> Subject: Re: [PHP] file_exists
>
> Instruct ICC wrote:
> >
> >
> >> Date: Thu, 15 Nov 2007 00:20:52 +
> >>
> > I think file_exists returns false for remote files ;)
>
> Even if it did (it doesn't:
> http://uk3.php.net/manual/en/wrappers.ftp.php), I'd still rather not let
> someone steal my /etc/passwd or /etc/shadow etc. files.
>
> As I said before. Some form of regexp or similar restriction is 1
> Next time Brad, please try to take a look yourself at the line the error
> indicates (and the lines around it aswell) and TRY to figure out what
> MIGHT be wrong.
>
> - Tul
If it's not on the line it reported, it may be immediately above that line.
The only unhelpful error I've seen (once y
> Still parsing as text and not html!
You should be able to do this in both PHPmailer and "Example 1127. Sending HTML
email" before I finish reading the 60 emails I have remaining to catch up on
this list. Including any download.
___
> We are sending email now,
> But we are back to the original problem,
> No hyperlink!
>
> $email = $_REQUEST['email'] ;
> $fromaddress .= '[EMAIL PROTECTED]';
> $fromname .= 'Zone of success Club';
> $eol="\r\n";
> $headers .= "From: ".$fromname."<".$fromaddress.">".$eol;
> $headers .= "Reply-To:
> Date: Thu, 15 Nov 2007 00:20:52 +
> From: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
> CC: php-general@lists.php.net
> Subject: Re: [PHP] file_exists
>
> Philip Thompson wrote:
>> I've run into similar problems where I *thought* I was looking in the
>> correct location... but I wasn't. Take
> Date: Wed, 14 Nov 2007 13:20:16 -0800
> From: [EMAIL PROTECTED]
> To: php-general@lists.php.net
> Subject: [PHP] Is there a 'Beginner's' PHP List
>
> Come to think of it - if there is a more basic 'newbie' forum list (for PHP
> beginners like myself) that anyone knows of (I found a few listed
> Date: Wed, 14 Nov 2007 09:39:19 -0800
> From: [EMAIL PROTECTED]
> To: php-general@lists.php.net
> Subject: [PHP] Newbie question - current date - time
>
> Hi Folks,
>
> Newbie question :
>
> - how do I get and display the current date?
> - how do I get and display the current time?
>
> I see t
> I am using this function enhanced_list_box. This works
> fine. Except the return value is None. How is it possible for it to
> return a proper value. It reads a list from a data base.
while $row is valid you do stuff.
then when $row is invalid, you return it.
But maybe you knew that.
To ret
> >> My php program is working with Firefox, but not with Internet Explorer.
> >
> > Nothing to do with php, your problem is javascript.
> >
> >> Is there a tool to find the problem?
> >
> > For IE, try
> >
> > http://www.microsoft.com/downloads/details.aspx?familyid=e59c3964-672d-4511-bb3e-2d5e1d
> >The person doing this seems to be relatively new to the scene,
> > only defacing websites with common vulnerabilities that you can find
> > anywhere on the Internet (http://astalavista.box.sk/ for example).
> > Check out Zone-H (http://www.zone-h.net/) to see if your domains are
> > on th
> >> Ubuntu = Debian + New Life
> >
> > Mandriva has Eclipse and PHPEclipse 'out of the box' along with Apache
> > and PHP
> > I can build a fully functional development machine from a pile of bits
> > in under an hour ;)
> > And currently that includes downloading the latest updates :)
> >
>
>
> But I highly doubt you'll find a first-class PHP code IDE (Zend Studio) that
> is also a first-class HTML layout tool (Dreamweaver).
My 2006 rant said I'll accept multiple tools. I'll have to find that post and
see if my needs have changed. Ahh here:
I am looking for a tool (or tools) that
Blah blah blah...electricity
You see where I'm going.
>> You forgot Adam and Eve
For those who believe "You see where I'm going".
For the others, you get vacuum fluctuations LOL.
_
Boo! Scare away worms, viruses and so much
CTED]> To:
php-general@lists.php.net> Date: Fri, 9 Nov 2007 01:03:13 +0100> Subject: Re:
[PHP] PHP ide? OT>> On Friday 09 November 2007 00:47:56 you wrote:>> On Fri,
2007-11-09 at 00:28 +0100, Børge Holen wrote:>>> On Friday 09 November 2007
00:03:32 Instruct ICC w
ah blah...electricity
You see where I'm going.
> From: [EMAIL PROTECTED]> To:
php-general@lists.php.net> Date: Fri, 9 Nov 2007 00:28:59 +0100> Subject: Re:
[PHP] PHP ide?>> On Friday 09 November 2007 00:03:32 Instruct ICC wrote:>>
> > > > > Just wondering if anyone uses an IDE and if so what ones?
> > > > >
> > > > > Ta,
> > > > >
> > > > > H.
> > > >
> > > > Quanta +, of course.
> > > > Other is to much work and not worth the effort...
> > > > I really cannot see what so many of you guys see in eclipse, it's a
> > > > mist
> On Thu, 2007-11-08 at 21:47 +0100, Børge Holen wrote:
> > On Thursday 08 November 2007 11:02:07 Hulf wrote:
> > > Just wondering if anyone uses an IDE and if so what ones?
> > >
> > > Ta,
> > >
> > > H.
> >
> >
> > Quanta +, of course.
> > Other is to much work and not worth the effort...
> >
> Thanks for the comment. I removed the trailing semi-colon in the two
> areas where it was being sent to mysql_query() and tried the code again.
> I'm still getting the same basic problem -- it silently aborts somewhere
> around 22,000 to 26,000 records being processed out of just under 30,000.
>
> Sounds much like what I'm trying to do. I have had to give up, for the
> time being, on using PHP to upload the datafile; it's about 56 MB in size
> and nothing I do seems to let me upload anything larger than a 2MB file. :(
I don't know if it's been mentioned in this thread, but 2M is a defaul
> I'm now wondering if some error is occurring that, for some reason, is
> silently ending the routine. I'm building what may be a very long SQL INSERT
> statement for each line in the CSV file that I'm reading; could I be hitting
> some upper limit for the length of the SQL code? I'd thi
> >>> Greetings everyone, I was wondering where I could find information on the
> >>> status and possibilities of threads being included in PHP. Or if you are
> >>> knowledge-able on the status of threads, if it is a planned addition or
> >>> not
> >>> and the reasons as such. I understand PHP is
> Alberto García Gómez wrote:
> > I trying to include some image generate for a function that use GD.
> >
> > eg.:
> >
> > function myfunct(){
> > [MY_CODE]
> > }
> >
> > but when I call the function it generate me a lot of symbols, letters and
> > numbers but no image.
> >
> > WHAT CAN I
>> Greetings everyone, I was wondering where I could find information on the
>> status and possibilities of threads being included in PHP. Or if you are
>> knowledge-able on the status of threads, if it is a planned addition or not
>> and the reasons as such. I understand PHP is not thread safe, t
>> Maybe something to do with the last line (but I get several lines)
>> Return Values
>>
>> Returns the last line of the command output on success, and FALSE on failure.
>>
>>
>
> I have within a web page:
> $a=system('/usr/bin/lynx -dump http://api.hostip.info/country.php?ip='.$aa);
> ?>
> ...
> > Well on Mac/Unix/Linux you could type "ps" at the terminal to see the path
> > to the running processes or "which php" to see which one you would invoke.
> >
> > Maybe you can upgrade to a Mac?
> >
> > Parallels running Windows XP didn't show me such info in the Task Manager;
> > sorry.
>
>
What the hell is this?
Is Charlie Schulz trying to get me to click on this link?
> Date: Fri, 26 Oct 2007 15:08:10 -0400
> From: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
> Subject: [Ticket #29] [PHP] Executing PHP
>
> Your ticket has been submitted. Please reply to this email (keeping the
> s
>> Use double quotes to get the value of $a or else you get the literal string
>> "$a".
>>
>> $aa=system("lynx -dump http://api.hostip.info/country.php?ip=$a",$location);
>> or
>> $aa=system('lynx -dump http://api.hostip.info/country.php?ip='.$a,$location);
>>
>>
> Thanks! 1st solution did not wo
Well on Mac/Unix/Linux you could type "ps" at the terminal to see the path to
the running processes or "which php" to see which one you would invoke.
Maybe you can upgrade to a Mac?
Parallels running Windows XP didn't show me such info in the Task Manager;
sorry.
> Date: Thu, 25 Oct 2007 15:
> >> I want to be able to display something like an image of a turkey
> >> during the month of november from now until I'm dead.
> >
> > And how will the application know when you are dead?
>
> Well, I code all of my applications to receive RFID signals, and I
> had a RFID transmitter embedded
> > in my php.ini, I have this set
> > sendmail_from = [EMAIL PROTECTED]
The first thing I'd do is verify if the script is really using the php.ini you
think it is by having the script output phpinfo.
_
Peek-a-boo FREE Tricks & Tre
> Date: Thu, 25 Oct 2007 09:43:14 +0800
> From: [EMAIL PROTECTED]
> To: php-general@lists.php.net
> Subject: [PHP] system command
>
> I tried:
>
> $a=$_SERVER["REMOTE_ADDR"];
> echo "REMOTE_ADDR=$a";
> if($a="192.168.250.108") {
> $a="61.64.101.101";
> }
>
>
> $aa=system('lynx -dump http
> > > I want to be able to display something like an image of a turkey
> >> during the month of november from now until I'm dead.
> >
> >And how will the application know when you are dead?
>
> When you stop paying for hosting, the application get's the idea when
> it's bits go poof!
Yep, tha
> I want to be able to display something like an image of a turkey
> during the month of november from now until I'm dead.
And how will the application know when you are dead?
_
Windows Live Hotmail and Microsoft Office Outlook –
> From: [EMAIL PROTECTED]
> To: php-general@lists.php.net
> Date: Wed, 24 Oct 2007 15:27:28 -0400
> Subject: [PHP] help with code not wrking
>
> Hi all,
>
>
>
> I have inherited a problem script from a client, and it's a simple upload
> function.
>
> The problem is that while the image is b
> Hello everyone.
>
> We all know the difference between print and echo, but has someone ever
> tried to combine them together ??
>
> Right, try this :
>
> echo "coucou " . print('v ' . print('u ' . print('toctoc ') . 'hihi ') ) .
> 'tata ' . print('zozo ' . print('pupu '));
>
>
> And guess
> > >> > I want to prohibit an image from being shown to anyone who is not
> > >> > permitted (i.e., logged in).
> > >> >
> > >> > The way I want to do this is to:
> > >> >
> > >> > 1. Set [file] permissions...
> > >>
> > >>
> > >>
> > >> What if 2 or more users access the application at th
> >> I think I found a solution.
> >>
> >> Here's the url:
> >>
> >> http://www.webbytedd.com/bbb/image-test1/
> >>
> >> The point is that the image is only accessible via this script, is
> >> this correct?
> >
> >I can access it without a script:
> >http://www.webbytedd.com/bbb/image-test1/i
> but in the img tag, try src="display_image.php?id=anId"
> and in display_image.php, test if the user is authorized before displaying
> the image.
> Then a direct call to display_image.php?id=anId would still have a chance to
> authenticate the user.
Forgot to reiterate:
Keep the images where
> Hi gang:
>
> I think I found a solution.
>
> Here's the url:
>
> http://www.webbytedd.com/bbb/image-test1/
>
> The point is that the image is only accessible via this script, is
> this correct?
I can access it without a script:
http://www.webbytedd.com/bbb/image-test1/images/a.jpg
It may
> I want to prohibit an image from being shown to anyone who is not
> permitted (i.e., logged in).
>
> The way I want to do this is to:
>
> 1. Set [file] permissions...
What if 2 or more users access the application at the same time?
Set the permissions so only the PHP application can acces
> > > When I run the command on the server itself, it
> > > works just fine. When I run the same command via a webpage, the text file
> > > does not generate.
> >
> >
> > I also have a similar problem but reversed. It works in a webpage but not
> > on the command line.
> > mysql_connect, mssql_c
> When I run the command on the server itself, it
> works just fine. When I run the same command via a webpage, the text file
> does not generate.
I also have a similar problem but reversed. It works in a webpage but not on
the command line.
mysql_connect, mssql_connect, and a non-db function.
> Hi. I'm wanting to run an executable that generates a text file, and I'm
> having some issues. When I run the command on the server itself, it works
> just fine. When I run the same command via a webpage, the text file does not
> generate. My first impression was that the permissions were wrong.
> > > Yes, but precision is not the issue.
> > >
php -r '$t=123.45; echo $t . "\n"; $t+=0.001; echo $t . "\n";'
123.45
123.451
php -r '$t=123.45; echo $t . "\n"; $t+=0.0001; echo $t . "\n";'
123.45
123.45
php -r '$t=123.45678901234567; echo $t . "\n";'
123.45678901235
Ge
> > Yes, but precision is not the issue.
> >
> > It doesn't make any difference if you are rounding.
> > You still have to make a decision
Uuhm, what was $t on the platform before the round please (the +=
.000..1 post)? Then that will confirm that precision is not the
problem.
Als
> well,
> seems to be OS dependent:
>
> PHP_OS:Linux (Suse 9.x 32bit) | PHP_VERSION:5.0.3
> $t=1.255;
> round($t,2):1.26
> $t += .0001;
> round($t,2):1.26
>
>
> PHP_OS:WINNT (2000) | PHP_VERSION:5.2.4
> $t=1.255;
> round($t,2):1.25
>
> $t += .0001;
> round($t,2):1.26
>
> --
> Vie
> While we're entertaining algorithms, has anyone else noticed that
> php's round() isn't the most accurate algorithm to round?
For those that replied that there is a problem, can you provide examples?
precision
The optional number of decimal digits to round to, defaults to 0
If the OP wants any single valid set, then this seems to work.
If he wants all valid sets, no joy.
I added a 10.00 and a 0.22 to the $values array and varied the position of the
10.00 (before and after 3.76) and it seems to pull the first set where the
first member in the $values array is a memb
> CC: php-general@lists.php.net
> From: [EMAIL PROTECTED]
> Date: Tue, 9 Oct 2007 15:58:22 -0400
> To: [EMAIL PROTECTED]
> Subject: Re: [PHP] Looking for help with a complex algorithm
>
> And that is when I realize how much more I still need to learn about
> php...
IMHO, I don't think this has an
I never heard of the knapsack problem before this post.
But the w in the w*x terms appear to be 1, and he seems to want an exact value,
not "less than or equal to".
I think my brute force factorial technique is a solution, but dynamic
programming may be more efficient? Not familiar with DP alth
> Date: Tue, 9 Oct 2007 14:01:30 -0500
> From: [EMAIL PROTECTED]
> To: php-general@lists.php.net
> Subject: [PHP] Looking for help with a complex algorithm
>
> Good afternoon gurus and guru-ettes!
>
> I am searching for an algorithm that will take a list of monetary values
> and determine which o
> I dont get that error
>
> Warning: socket_write() expects parameter 1 to be resource, null given in
> /path/script.php on line 34
>
> but just the original error msg
>
> Warning: socket_write(): unable to write to socket [32]: Broken pipe in
Multiple times still?
Or just the one time?
Use h
HP] Socket how to die if connection broken
>
> Hi I got this error
>
> Warning: socket_write() expects parameter 1 to be resource, null given in
> /path/script.php on line 34
>
> Thanks
>
> ----- Original Message -
> From: "Instruct ICC" <[EMAIL
Remove the @ and see if you get any useful message.
> From: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
> CC: php-general@lists.php.net
> Date: Mon, 8 Oct 2007 19:04:45 +0100
> Subject: Re: [PHP] Socket how to die if connection broken
>
> Hi Stut Ive tried your example but still cant get it to wor
> But if the socket connection gets broken it creates an error msg
>
> Warning: socket_write(): unable to write to socket [32]: Broken pipe in
> Warning: socket_write(): unable to write to socket [32]: Broken pipe in
> Warning: socket_write(): unable to write to socket [32]: Broken pipe in
>
>
> > its mysterious statements like this that make code fragile,
> > imho. i prefer the modulus approach.
>
> I would have agreed before reading the clarification. Not so sure
> now...
>
> At the risk of semantic nitpicking, and only because I find this
> discussion stimulating (pity us poor gee
> Brian Dunning wrote:
> > I'm running the following code:
> >
> > $query3 = "DELETE FROM table1 WHERE referer=$referer ORDER BY creation
> > LIMIT $numtodelete";
> > $result3 = mysql_query($query3);
> > $string = "$total found, $n kept, $numtodelete extras removed ($query3)";
> > $x = mysql_quer
> From: [EMAIL PROTECTED]
> Today's post was
> prompted by my desire to prototype yet another suite of
> browse-read-edit-add-delete functions for someone.
I was just going to ask you what is BREAD. Cool, basically a Web-based CRUD?
I can't find anything on it, can you point me to some sites?
Just for grins, tell us the steps you took to unsubscribe.
There is a link at the bottom of every email inviting you to unsubscribe. So
I'm sure you began there.
Tell us where it failed.
_
Kick back and relax with hot games and co
In the To: php-general@lists.php.net> Date: Thu, 20 Sep 2007 14:45:36 -0500>
From: [EMAIL PROTECTED]> Subject: [PHP] MAX_FILE_SIZE not working with file
uploads>> The punchline question is: What am I missing?>> Now for the
details.>> I have a form through which a user uploads image files. In t
Wow this formatted badly. (new hotmail on Safari -- MS made FF not even render
well)
Anyway, are you sure you are reaching the code you want to reach?
Perhaps !== is overkill and maybe even wrong when you should use ==.
Same with the other === usage?
Try some
echo "HERE1\n";
echo "HERE2\n";
t
In the
_
More photos; more messages; more whatever – Get MORE with Windows Live™
Hotmail®. NOW with 5GB storage.
http://imagine-windowslive.com/hotmail/?locale=en-us&ocid=TXT_TAGHM_migration_HM_mini_5G_0907
--
PHP General Mailing Li
> From: [EMAIL PROTECTED]
> Actually in this example, there is an error handling function provided
> in the comments.
I'm commenting again because I want to stress the distinctions between errors
E_ERROR, warnings E_WARNING, *USER* and other "messages/notices/etc.":
http://php.net/manual/en/ref
> Instruct ICC schrieb:
> > I was going to mention
> > http://php.he.net/manual/en/features.safe-mode.functions.php and ask
> > you if you need any of those functions, but I prefer Nathan's answer.
> > You may be able to set the error reporting in conjunction wi
On 9/12/07, Samuel Vogel <[EMAIL PROTECTED]> wrote:
>
> Hey guys,
>
> Actually I'm still looking for a way to block for example the exec()
> function without throwing an error!
From: "Nathan Nobbe" <[EMAIL PROTECTED]>
i dont know why you wouldnt just use the
disable_functions directive in php.i
From: Jason Pruim <[EMAIL PROTECTED]>
Here is the relevant code (I think...)
$search = $_GET["search"];
$self = $_SERVER['PHP_SELF'];
$qstring = "SELECT * FROM current WHERE FName like '%$qstring%' or LName
like '%$qstring%' or Add1 like '%$qstring%' or Add2 like '% $qstring%' or
City like '%$
It was able to call up external includes using the below code which
resulted
that the server was used to send out spam.
How can I protect the code?
Is ../inc/ in the web path? $_SERVER['DOCUMENT_ROOT']
If so, then what do you mean by "external includes"? You need to move inc/
to a path unre
From: Martin Marques <[EMAIL PROTECTED]>
Stut wrote:
Wagner Garcia Campagner wrote:
header('Location: index.php');
Although technically speaking that should be an absolute URL.
AFAIK, they are both equivalent.
Ahhh, if the OP meant, "Load a different page after doing some form
processi
From: Afan Pasalic <[EMAIL PROTECTED]>
rough code, to give you an idea:
('".mysql_real_escape_string($first)."',
'".mysql_real_escape_string($last)."')
");
}
else
{
$query = mysql_query("
select first, last
from table
where id=xyz
")
From: "Wagner Garcia Campagner" <[EMAIL PROTECTED]>
Is there a way to tell PHP to reload the page after the user submit the
information, so the page is always updated??
Thanks in advance,
Wagner.
I don't get your fundamental problem. When a user submits a form, the page
handling the submissio
From: "Wagner Garcia Campagner" <[EMAIL PROTECTED]>
Hello,
I'm building a web page just like a blog...
Where the user input some information... (name, website and comment)
This information is stored in a file...
And then the page displays it...
When the user access the page the first time, t
Because that means messing with the recipient list - that's donkey work
your client should do, hence my use of reply-to-all.
Wouldn't gmail thread it but still have 2 copies?
I could send email TO/CC/BCC the list to a specific folder, but I'd still
get the copy to me directly in another folder.
Why don't you and others just reply to the list? (I'm smiling when I say
this.)
Wow, that's for that egg-sucking lesson. I would think it was clear from my
answer that I know what a socket is.
Sorry. You understood the concept but it wasn't clear to me that you
understood about the socket.
Not sure what you mean by "hand off the socket to multiple threads on
multiple servers". I think you're talking about detecting that a POST is
spam and passing that off to another machine to handle it.
Yes, that is what I meant. A socket is a lower level "object" that the web
server is using to
Can server1 receive a web page form post from remoteAttacker,
identify it as spam (or a DoS or DDoS attack),
hand off the socket to multiple threads on multiple servers owned by
server1's owner,
return multiple responses to remoteAttacker which normally would have been a
single response returned
From: "Hulf" <[EMAIL PROTECTED]>
This does not work
echo $title=$row['title'];
echo "";
Ta,
R.
I'll pull a Johnny Carson divining moment and say:
Did you need the first 'echo'? Does $title need to be set? Try:
$title=$row['title'];
You missed a double quote after your backslash; the atte
dered HTML?
Thank you kindly for any insight.
- sf
To the person who started this post and everyone answering it...
I would appreciate your thoughts on this post as well:
From : Instruct ICC <[EMAIL PROTECTED]>
Sent : Thursday, August 2, 2007 1:46 PM
To :php-general@lists
Finally I have the green light to get some separation of roles/duties.
First there was just me. "Web Programmer", yet all web related hats.
Then there was the "Server Administrator", and me, the "Web Developer" (sort
of like peers). Although the admin doesn't like to change the server
setting
From: "Richard Lynch" <[EMAIL PROTECTED]>
Your dev box should only match in software versions (okay, and any
really funky specialized hardware like a hardware random number
generator MAYBE).
Regarding duplicating the box versus software:
I'm working on a C++ project on a Mac Pro and a MacBook P
From: "Richard Lynch" <[EMAIL PROTECTED]>
Your dev box should only match in software versions (okay, and any
really funky specialized hardware like a hardware random number
generator MAYBE).
Don't ask them for a Gigaplex Mu-on 16-cpu 64 Gig RAM 4 Terabyte hard
drive box.
Take an old box out of y
From: Ken Tozier <[EMAIL PROTECTED]>
Hi
I think this is probably just a misunderstanding on my part, but I'm
creating associative arrays with string keys from MySQL query results and
when I put a value in the array, I get the expected key association along
with an index key that has a diffe
From: "Richard Lynch" <[EMAIL PROTECTED]>
On Fri, July 27, 2007 10:01 pm, Instruct ICC wrote:
> If you mean get a dev box. You don't know how long I've been asking
> for one
> to match the production box.
Your dev box should only match in software v
From: "Dan Shirah" <[EMAIL PROTECTED]>
All,
I looked on PHP.net but I couldn't not find anything suitable to answer my
question.
Within PHP, is there a way to pull the name of the user that is currently
logged into the PC?
I know with some of the _SERVER functions you can pull the IP of the
m
From: "Richard Lynch" <[EMAIL PROTECTED]>
> But xdebug and apd are probably moot.
>
> BTW, I'm not using separate development and production machines.
Right there is your first problem.
Solve that first.
If you mean get a dev box. You don't know how long I've been asking for one
to match the
Are there any "magic functions" like __sleep and __wakeup that get called
upon entry and exit of user functions or user object methods?
Something like
__hookEntry For User Functions
__hookExit For User Functions
__hookOoEntry For User Object Methods
__hookOoExit For User Object Methods
Basicall
From: "Richard Lynch" <[EMAIL PROTECTED]>
There's the display_error_in_browser or whatever it is that might be
causing the second output...
From the command line?
_
http://imagine-windowslive.com/hotmail/?locale=en-us&ocid=TXT_T
From: tedd <[EMAIL PROTECTED]>
Olav:
Mine too.
But, Rasmus gave me this:
$action = isset($_GET['action']) ? $_GET['action'] : null;
Which could be translated to:
$language = isset ($_SERVER["HTTP_ACCEPT_LANGUAGE"]) ?
($_SERVER["HTTP_ACCEPT_LANGUAGE"]) : "*";
I think that might help.
Any
First "Hitler and the Nazis"[1] reference. You lose! Thanks for playing.
:-)
[1] http://en.wikipedia.org/wiki/Godwin's_Law
Dang I didn't know that existed, thanks for the reference now I have
something for all my other discussions.
ROFLMAO
__
From: Stephan G <[EMAIL PROTECTED]>
php-5.2.3-win32-installer.msi
It has the following md5 sum, taken locally on my system:
4d042f649d9c264477e1b421c64c6435
I can confirm the same md5 sum.
"The installer has encountered an unexpected error
installing this package. This may in
He did say "or Win XP".
I'll have to go back to find your original post to see if I can help.
Well, from your subject, maybe you can use a System Restore point?
---
If you need a stable, secure OS, get Ubuntu.
If you need a stable, secure OS, and need new hardware, get
From: Tijnema <[EMAIL PROTECTED]>
I didn't read the full thread (because it is 80 emails...)
But really, it isn't special that these books are found on the net,
and you really can't stop them, nor can the author of the book.
With a quick search, I found these books related to PHP(all "free" to
From: "Instruct ICC" <[EMAIL PROTECTED]>
From: "Olav Mørkrid" <[EMAIL PROTECTED]>
sorry. still get it twice.
c:\>php -r "error_reporting(E_ALL ^ E_NOTICE);
trigger_error(\"hello\", E_USER_ERROR);"
PHP Fatal error: hello in Command line
From: "Olav Mørkrid" <[EMAIL PROTECTED]>
sorry. still get it twice.
c:\>php -r "error_reporting(E_ALL ^ E_NOTICE);
trigger_error(\"hello\", E_USER_ERROR);"
PHP Fatal error: hello in Command line code on line 1
Fatal error: hello in Command line code on line 1
- if i do error_reporting(0) then
From: "Richard Lynch" <[EMAIL PROTECTED]>
It's still browser-dependent, really, but now your browser isn't doing
what YOU want for your form-filling-in-experience...
I like this. I'll have to add it to my "operator error", "pass the buck"
bag of tricks.
There's still nothing you can do abo
1 - 100 of 104 matches
Mail list logo