php-general Digest 5 Sep 2007 11:53:37 - Issue 5001
Topics (messages 261705 through 261720):
Re: PHP Developer Required]
261705 by: tedd
261720 by: mlists
Re: Dealing with auto-increment in MySQL
261706 by: brian
261708 by: tedd
Re: Pragmatically changing a
Below you have described a client. I'm talking about a
server. That was clear in my original post.
-Paul W
Greg Donald wrote:
On Tue, 4 Sep 2007, Paul wrote:
Which part do you need help with? The SSL part or the command line or the
port or ... ?
http://www.php.net/openssl
--
Richard Heyes
+44 (0)800 0213 172
http://www.websupportsolutions.co.uk
Knowledge Base and HelpDesk software
that can cut the cost of online support
---BeginMessage---
Of course, my apologies.
I've simplified it from the actual code and also removed the string
parameter as the object one is
I have the following code and it doesn't behave properly but I can't find my
error. The code is designed to validate user login. When I pass in an
invalid email name to the checkLogin function it returns a result, not FALSE
as the documentation describes. I can SELECT * from the table being used
2007. 09. 5, szerda keltezéssel 16.31-kor Brian Welter ezt írta:
I have the following code and it doesn't behave properly but I can't find my
error. The code is designed to validate user login. When I pass in an
invalid email name to the checkLogin function it returns a result, not FALSE
as
Brian Welter wrote:
I have the following code and it doesn't behave properly but I can't find my
error. The code is designed to validate user login. When I pass in an
invalid email name to the checkLogin function it returns a result, not FALSE
as the documentation describes. I can SELECT * from
A university, which hypes the need for an education, charges a fortune
for it (causing people to go into massive debt to get it), and then
turns around an offers less than a living wage is hypocritical.
Becoming university staff takes a couple years, after which salaries
are competivitive with
At 9:04 PM -0400 9/4/07, brian wrote:
You're being pissy again. It really reflects poorly on you and, i
suspect, it's keeping you from truly understanding what it is that
i'm trying to help you with.
Enough said on this subject, besides I don't think you're reading
what I write correctly
Hello,
I recently came across an invalid opcode 137/8/8 error. I couldn't
find anything on the net regarding this specific error. Where can I find
documentation concerning opcodes and particularly this error?
Regards
Frank
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
Hi,
I believe this would be a bug - report it at http://bugs.php.net/ with the
exact error output and a minimal example script.
--rob
On 9/5/07, Frank Höger [EMAIL PROTECTED] wrote:
Hello,
I recently came across an invalid opcode 137/8/8 error. I couldn't
find anything on the net regarding
On Wed, 2007-09-05 at 14:15 +0200, Frank Höger wrote:
Hello,
I recently came across an invalid opcode 137/8/8 error. I couldn't
find anything on the net regarding this specific error. Where can I find
documentation concerning opcodes and particularly this error?
I took your exact quoted
Some people just have to whine. It's too bad people on this list have to
put up with this behaviour.
We do have a position available for someone who wants to work, and climb
the ladder into what could be a lifelong career working with a leading
edge group of developers. It is a foot in the door
On Wed, 2007-09-05 at 09:18 -0400, Greg Gay wrote:
http://atrc.utoronto.ca/index.php?option=com_contenttask=blogcategoryid=26Itemid=109
VRML... it makes me cry how it never came to be as popular as it could
have been.
Cheers,
Rob.
--
I personally think it sounds like a pretty fun job with a lot of potential.
Even if you don't get hired on as staff after the contract is up, you're
still potentially walking away with:
1 - Some excellent business contacts
2 - First hand experience in developing their new applications
3 - More
Dan Shirah wrote:
My only question is.is that $50,000 Canadian dollars or American? :)
It's in Canadian dollars. Though there's not much difference between
Canadian and American dollars any more.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Good Morning!
Opening this file is proving to be a pain. I have a folder that contains a
PHP page and a text file. I am trying to open the contents of the txt file
using file() but it keeps erroring out. Below is the code I'm using to try
and open it:
?php
$fruit = apple);
$lines =
Correction, I am now getting this error:
PHP Warning: file(fruits.txt)
[function.filehttp://develop1/credit%20card%20processing/function.file]:
failed to open stream: No such file or directory
PHP Warning: in_array()
[function.in-arrayhttp://develop1/credit%20card%20processing/function.in-array]:
Hi Dan,
Wednesday, September 5, 2007, 3:24:43 PM, you wrote:
Opening this file is proving to be a pain. I have a folder that contains a
PHP page and a text file. I am trying to open the contents of the txt file
using file() but it keeps erroring out. Below is the code I'm using to try
and
I did a
if ($lines === false) {
echo lines is false;
}
like you suggested and it displays that text...but it still make no sense.
mypage.php and fruits.txt are in the same folder, on the same server. There
isn't any permissions issues.
So, if mypage.php and fruits.txt are in the same folder,
[snip]
I did a
if ($lines === false) {
echo lines is false;
}
like you suggested and it displays that text...but it still make no
sense.
mypage.php and fruits.txt are in the same folder, on the same server.
There
isn't any permissions issues.
So, if mypage.php and fruits.txt are in the same
mypage.php and fruits.txt have the same permissions.
The IUSR(internet user) account has the following permissions:
Read Execute
Read
On 9/5/07, Jay Blanchard [EMAIL PROTECTED] wrote:
[snip]
I did a
if ($lines === false) {
echo lines is false;
}
like you suggested and it displays
Dan Shirah wrote:
I did a
if ($lines === false) {
echo lines is false;
}
like you suggested and it displays that text...but it still make no sense.
mypage.php and fruits.txt are in the same folder, on the same server. There
isn't any permissions issues.
So, if mypage.php and fruits.txt are
Toppage.php -
?php
include 'Process/order/mypage.php';
if ($a !=Y) {
echo ;
}
else {
?
LOTS OF HTML
?php } ?
Mypage.php -
?php
$fruit = echo apple;
$lines = file(users.txt);
if (in_array($fruit,$lines))
{
$a = Y;
}
else {
?
LOTS OF HTML
?php } ?
So:
fruits.txt is contained in the same
Dan Shirah wrote:
So:
fruits.txt is contained in the same folder as mypage.php.
mypage.php tries to pull the data contained in fruits.txt to see if the
data matches
toppage.php has mypage.php inserted as an include and checks for the
result of $a and processes accordingly.
In that case your
Dan Shirah wrote:
Good Morning!
Opening this file is proving to be a pain. I have a folder that contains a
PHP page and a text file. I am trying to open the contents of the txt file
using file() but it keeps erroring out. Below is the code I'm using to try
and open it:
?php
$fruit = apple);
Brian Welter wrote:
I have the following code and it doesn't behave properly but I can't find my
error. The code is designed to validate user login. When I pass in an
invalid email name to the checkLogin function it returns a result, not FALSE
as the documentation describes. I can SELECT * from
Ave,
I¹m using Curl to login to a website. I gather cookies from one page, carry
the cookiejar to another page, post data to login, and get the result. The
problem is, the final landing page displays on my php page as part of the
page and remains on my server, therefore the Links on that Landing
Ah, okay.
Would this also work if I wanted to apply this to multiple other pages
located within different areas of the site tree?
On 9/5/07, Stut [EMAIL PROTECTED] wrote:
Dan Shirah wrote:
So:
fruits.txt is contained in the same folder as mypage.php.
mypage.php tries to pull the data
On Wed, 2007-09-05 at 09:47 -0400, Dan Shirah wrote:
I personally think it sounds like a pretty fun job with a lot of potential.
Even if you don't get hired on as staff after the contract is up, you're
still potentially walking away with:
1 - Some excellent business contacts
2 - First hand
On 9/5/07, Robert Cummings [EMAIL PROTECTED] wrote:
[snip]
I don't think the currency matters very much anymore... you get $1.05 on
the American dollar these days. It's not like 6 years ago where you got
around a $1.80 :)
Until you think about the fact that the $0.05 difference on the
On Wed, 2007-09-05 at 14:03 -0400, Daniel Brown wrote:
On 9/5/07, Robert Cummings [EMAIL PROTECTED] wrote:
[snip]
I don't think the currency matters very much anymore... you get $1.05 on
the American dollar these days. It's not like 6 years ago where you got
around a $1.80 :)
Until
On 9/5/07, Robert Cummings [EMAIL PROTECTED] wrote:
Well $2,500 is $2,500... no arguing that. But 6 years ago you'd have
gotten about $40,000 and that certainly made a BIG difference :)
Here, here.
Don't worry, though soon that $50k Canadian will transfer to
$84k+ American. At
On Wed, 5 Sep 2007 14:35:10 -0400
Daniel Brown [EMAIL PROTECTED] wrote:
On 9/5/07, Robert Cummings [EMAIL PROTECTED] wrote:
Well $2,500 is $2,500... no arguing that. But 6 years ago you'd have
gotten about $40,000 and that certainly made a BIG difference :)
Here, here.
Don't
On 9/5/07, Greg Maruszeczka [EMAIL PROTECTED] wrote:
You won't fit in very well with a mapleleaf on your face...er...except
maybe in Toronto :)
Fair enough, in this case.
On 8/31/07, Greg Gay [EMAIL PROTECTED] wrote:
Title: Web Applications Developer
Open August 30, 2007,
Closing
On Wed, 2007-09-05 at 11:41 -0700, Greg Maruszeczka wrote:
On Wed, 5 Sep 2007 14:35:10 -0400
Daniel Brown [EMAIL PROTECTED] wrote:
On 9/5/07, Robert Cummings [EMAIL PROTECTED] wrote:
Well $2,500 is $2,500... no arguing that. But 6 years ago you'd have
gotten about $40,000 and that
On Wed, 5 Sep 2007, Paul wrote:
Below you have described a client. I'm talking about a server. That was clear
in my original post.
Why on earth would you need to implement an SSL socket in PHP when we
have Apache and openssl? That's pointless. Anywhere PHP can run Apache
can run.. and with
Greg Donald wrote:
On Wed, 5 Sep 2007, Paul wrote:
Below you have described a client. I'm talking about a server. That was clear
in my original post.
Why on earth would you need to implement an SSL socket in PHP when we
have Apache and openssl? That's pointless. Anywhere PHP can run Apache
Paul wrote:
Why on earth would you need to implement an SSL socket in PHP when we
have Apache and openssl? That's pointless. Anywhere PHP can run
Apache can run.. and with much better performance.
Because the client is incapable of HTTPS or HTTP protocols.
Not that I really should need
Hey List,
I want to know if it is possible to use PHP to find out if a visitor has
Java Runtime Environment installed on a computer. Is there a way to use PHP
to find this similiar to how PHP can be used to find out browser info?
Thanks in advance for your help.
--
-Matt Livingston
Matt Livingston wrote:
Hey List,
I want to know if it is possible to use PHP to find out if a visitor has
Java Runtime Environment installed on a computer. Is there a way to use PHP
to find this similiar to how PHP can be used to find out browser info?
Thanks in advance for your help.
No,
On 9/5/07, Paul [EMAIL PROTECTED] wrote:
Greg Donald wrote:
Why on earth would you need to implement an SSL socket in PHP when we
have Apache and openssl? That's pointless. Anywhere PHP can run Apache
can run.. and with much better performance.
Because the client is incapable of HTTPS
At 3:17 PM -0600 9/5/07, Matt Livingston wrote:
Hey List,
I want to know if it is possible to use PHP to find out if a visitor has
Java Runtime Environment installed on a computer. Is there a way to use PHP
to find this similiar to how PHP can be used to find out browser info?
Thanks in
tedd wrote:
At 3:17 PM -0600 9/5/07, Matt Livingston wrote:
I want to know if it is possible to use PHP to find out if a visitor has
Java Runtime Environment installed on a computer.
But you can attempt to run a js script from php to see if javascript is
enabled.
Java Runtime Environment
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
Basically I want to redirect to: http://www.website.org/index.php after
logging in using curl.
Curl won't redirect you, you have to do it.
header('Location: http://www.website.org');
--
Postgresql php tutorials
http://www.designmagick.com/
--
PHP General Mailing List (http://www.php.net/)
I would think that if you put an applet in the page with some public
property or method which you could then query from JavaScript if it succeeds
it means you do have Java, not only installed but available and enabled to
the browser, then you could either send a AJAX message to the server or
On Wed, 5 Sep 2007, Paul wrote:
Because the client is incapable of HTTPS or HTTP protocols.
Not that I really should need to answer this. Why on earth would you assume I
don't have a good reason? In what way is this answer to my question even a
little helpful?
It's not every day someone
At 11:18 PM +0100 9/5/07, David Powers wrote:
tedd wrote:
At 3:17 PM -0600 9/5/07, Matt Livingston wrote:
I want to know if it is possible to use PHP to find out if a visitor has
Java Runtime Environment installed on a computer.
But you can attempt to run a js script from php to see if
Greg Donald wrote:
On Wed, 5 Sep 2007, Paul wrote:
Because the client is incapable of HTTPS or HTTP protocols.
Not that I really should need to answer this. Why on earth would you assume I
don't have a good reason? In what way is this answer to my question even a
little helpful?
It's not
On Wed, 2007-09-05 at 20:41 -0400, tedd wrote:
Java Runtime Environment == Java
JavaScript != Java
How about something like:
if ( navigator.javaEnabled() ) {
alert('JRE is installed!');
window.location=page_with_a_JAVA_applet;
}
else {
alert('JRE is not installed!');
Thanks,
http://www.php.net/manual/en/ref.java.php has the information I needed. The
purpose of this script is on a website I will be managing we distribute
software written in Java, so when they go to download the software I thought
it would be a nice touch to alert them if they do not have JRE
51 matches
Mail list logo