I tried to use the socket function under PHP 4.0.6 in IIS 5 on a server with
windows XP.
It give me the error -> Socket function not found in line 3
It's the socket implementation a package that i have to install???
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail:
I didnt try it, but i found this, in the compiled version of "php4win"
4.1.1 -> php_sockets.dll, does it work???
Logan
"Andrew Brampton" <[EMAIL PROTECTED]> escribió en el mensaje
03cc01c19de2$f1a90440$2528260a@STUDENT5830">news:03cc01c19de2$f1a90440$252826
vance,
~Logan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
value at all it gives me an
error in the if statement
Any help would be appriciated
Thanks in advance
~Logan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
my back end.
Thanks in advance,
~Logan
"Jason Wong" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On Tuesday 17 June 2003 11:39, Logan McKinley wrote:
>
> Use a descriptive subject heading.
>
> > I am new to PHP but have been using ASP for yea
must be a more eligant way to prevent the error then
with 11 individual if statements. Is there a way in which it will return a
value even if the key does not exist in the querystring.
Thanks in advance,
~Logan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://w
the error checking include file just handles php errors, the javascript
handles form validation. I believe the problem i am having is with the
session not the error handling, because i removed all validation and it did
the same thing.
~Logan
"Steve Keller" <[EMAIL PROTECTED]>
f the page.
"Steve Keller" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> At 6/18/2003 03:22 PM, Logan McKinley wrote:
>
> > the error checking include file just handles php errors, the javascript
> > handles form validation. I believe the problem
hat would be of more help,
Thanks in advance for any help,
~Logan
begin 666 registration_form.php
M/#\-"FEN8VQU9&4H(FEN8VQU9&5S7&AA;F1L95]E6]U7!E(B!C;VYT
M96YT/2)T97AT+VAT;6P[(&-H87)S970]=VEN9&]W6QE/2)B;W)D97(M8V]L;&%P'0B(&YA;64](D]R9TYA;64B('-I>F4](C,
}
else
$out = "login.php?err=error";
header("Location: ".$out);
?>
<=== include
open($strConn);
?>
<=== include
Thanks in advance,
~Logan
begin 666 db_conn.inc
M(" \/PT*(" D8V]N;B ](&YE=R!#3TTH(D%$3T1"+D-O;FYE8
re.php on line 4
<->
I created this whole site on my machine and have just attempted to move it to my ISP
who has phpinfo(); disabled
Thanks in advance,
~Logan
I have absolutely no experience with Berkeley db but have been told by my
ISP that it is what I need to use. How do I connect to it? Do I use SQL to
set up the structure? does it accept standard SQL? If anyone knows of a good
resource that would be wonderful as well.
Thanks in advance,
~Logan
base as "6/19/2003
1:44:00 PM" but being displayed on the page as "1056044640"
Thanks in advance,
~Logan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
problem is that it can only execute .exe or .dll files and i don't know if a
php file can be compiled.
Thanks in advance,
~Logan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
goto the page.
I want it to display the form, then when you click submit, goto the same
page except run the command to add the information from the form to the
database.
Also how do I put the information in the database.
Regards
Logan
--
PHP General Mailing List (http://www.php.net/)
To unsubscrib
f all
speechmarks which are not part of the echo statement.
I could still do with an example of how to put the information from the form
into the db though. As I have never done this before.
"Logan Moore" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I am currentl
heres the code, but im getting an error
This time I dont have a clue whats happening
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Apr 8, 2011, at 8:20 PM, Kirk Bailey wrote:
> in otherwords, the entire idea of picking one of N objects, whatever they
> are- strings, numbers, gummybears, lined up in a listing, and return the one
> item selected. This seems a common enough function there should be a simple
> way to do it a
Avg(survey_responses.Response))<>-1) AND
((survey_questions.survey_num)=0));
Thanks in advance,
~Logan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
The password is the hash of the entire thing, not just the password. So
it would be the following:
echo "admin:trac:".md5('admin:trac:admin');
-Logan
-Original Message-
From: Manolet Gmail [mailto:[EMAIL PROTECTED]
Sent: Sunday, April 01, 2007 5:28 PM
To: php-g
test.xslt"));
echo $proc->transformToXML($doc);
?>
But this was of no success; it just had the same output.
Is there anyone that is able to help me out here?
Thanks,
Logan
for the idea though.
-Logan
-Original Message-
From: Tijnema ! [mailto:[EMAIL PROTECTED]
Sent: Monday, April 09, 2007 4:40 AM
To: Buesching, Logan J
Cc: php-general@lists.php.net
Subject: Re: [PHP] DOM and XSLTProcessor
On 4/9/07, Buesching, Logan J <[EMAIL PROTECTED]> wrote:
&g
You may also want to take a look at
http://us.php.net/features.file-upload. That is a good resource for
starting in file uploads.
-Logan
-Original Message-
From: Stephen [mailto:[EMAIL PROTECTED]
Sent: Monday, April 09, 2007 8:54 PM
To: PHP-General
Subject: [PHP] Curious Problem with
Something along these lines?
$flipped=array_flip($arr);
unset($flipped[$val])
return array_flip($flipped);
>From the manual of array_flip:
If a value has several occurrences, the latest key will be used as its
values, and all others will be lost.
-Logan
-Original Message-
F
I didn't take too much time to look at this, but I believe that where
you see:
---
sprintf("_f('%s',%d, .
---
Try and change that to:
---
sprintf("_f('%s',%u, .
---
>From what information you provided, it seems that this is what would
work.
-L
Something along the lines of the following:
var myArray=new Array();
$val) {
?>
myArray[]="";
Although it lo
Thanks everyone,
I was able to get it to work by using CDATA and disable-output-escaping.
I guess I was not doing one or the other when I was testing. Thanks for
all the help it replace a really... _really_ nasty regex, decode,
output.
-Logan
-Original Message-
From: Richard Lynch
IF db not exists THEN
locate -u
END-IF
I'd hate to see the time it'd take to create a first-time database...
this could take awhile to run.
-Original Message-
From: Davi [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 11, 2007 6:10 PM
To: php-general@lists.php.net
S
I haven't used Eclipse on Linux in awhile, but I believe that they have
some executable script (like, go to the eclipse directory and type
./eclipse) that you can just run and it will start up eclipse and
everything.
-Original Message-
From: Bagus Nugroho [mailto:[EMAIL PROTECTED]
Sent:
Komodo, written in python and XUL (yes, the firefox extention engine).
-Original Message-
From: Jarrel Cobb [mailto:[EMAIL PROTECTED]
Sent: Friday, April 13, 2007 12:08 PM
To: Tijnema !
Cc: M. Sokolewicz; Philip Thompson; php General List
Subject: Re: [PHP] PHP editor
No, C is not a scri
hp 5
first before `php -v`
-Logan
-Original Message-
From: Sebe [mailto:[EMAIL PROTECTED]
Sent: Friday, April 13, 2007 6:27 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]; php php
Subject: Re: [PHP] Dreamhost! PHP as CGI!???
Richard Lynch wrote:
> On Fri, April 13, 2007 3:46 am, Mick
In your regex, you have a greedy matcher, i.e. ".*" will match as much
as it can to satisfy its condition. I believe you can do ".*?" and it
will work, as ".*?" will match as little as it can to be satisfied.
-Logan
-Original Message-
From: Travis Moore [
'])
to return true if the value exists, but may be null, you can always use
if (isset($_GET['var']) || is_null($_GET['var]))
Albeit, I'm unsure if this will generate a warning if $_GET['var']
doesn't exist for the is_null() call. And in this case, I belie
.
-Logan
-Original Message-
From: Leo Jokinen [mailto:[EMAIL PROTECTED]
Sent: Monday, April 16, 2007 10:22 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED];
php-general@lists.php.net
Subject: [PHP] Problems when trying to use ibm_db2 extension
Hi all,
I've been banging my head into the
>From the PHP manual:
-Original Message-
From: Zoltán Németh [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 19, 2007 8:40 AM
To: Tobias Wurst
Cc: php-general@lists.php.net
Subject: Re: [PHP] serialize an object
as far as I know serialize() saves all the properties of the object...
and
Sorry for that ctrl+enter sends, when I wanted ctrl+V to paste :(
All registered variables are serialized after the request finishes. Registered
variables which are undefined are marked as being not defined. On subsequent
accesses, these are not defined by the session module unless the user
You say they both have the same config, so do you mean that they both
have the same version of PHP, same computer setup (Memory, CPU speed,
HDD speed), both running the same version of Apache, and that both are
running as either CGI or an apache module?
-Logan
-Original Message-
From
Could you also send the code? Maybe 5 lines before and 5 lines after the
line it is pointing to?
It also means it tried to allocate 2KB of memory, which put you over
your 8MB in whatever script you are running. You can set the maximum
amount of memory a PHP script can use in your PHP.ini file.
-
There are many good resources out there, and one of my favorites for this type
of information is from Chris Shiflett.
http://shiflett.org/articles/sql-injection
http://shiflett.org/articles/foiling-cross-site-attacks
http://shiflett.org/blog/2007/mar/allowing-html-and-preventing-xss
Those are a
/wiki/Year_2038_problem Y2K38 problem.
If you want the UNIX timestamp of 4/19/2007 16:21:23, you can do
mktime(16,21,23,4,19,2007);
(http://us.php.net/manual/en/function.mktime.php).
-Logan
-Original Message-
From: John Taylor-Johnston
[mailto:[EMAIL PROTECTED]
Sent: Sunday, April 22, 2007
[snip]
I don't really want to do a isset check for every index I have.
[/snip]
Premature optimization is the root of all evil. Checks like this will
take nanoseconds to check. Find another way to optimize, like writing
better SQL queries.
--
PHP General Mailing List (http://www.php.net/)
To un
No. That is a common mistake amongst the uninformed. Addslashes
doesn't take into effect character encodings, while
mysql_real_escape_string does. Please take a look at this article:
http://shiflett.org/blog/2006/jan/addslashes-versus-mysql-real-escape-st
ring
-Logan
-Original Me
$path.'a.css'
Then YOUR php files can determine whatever $path needs to be before it
includes the file.
So when they request http://site.com/index.php, it will spit out:
@import styles/site1/a.css
I hope this makes sense.
-Logan
--
PHP General Mailing List (http://www.php.net/)
To uns
You may also want to check and make sure that your ISO isn't more than
4GB. IIRC, I had some troubles with extremely large files and using
filetype() on them. But then again, it may have just been something on
my own end.
-Logan
-Original Message-
From: Tijnema ! [mailto:[
I use Outlook 2003 on Vista, no problem at all, non-digest mode.
-Original Message-
From: Wolf [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 24, 2007 3:18 PM
To: Tijnema !
Cc: Beauford; PHP
Subject: Re: [PHP] List
Welcome to Windows
Tijnema ! wrote:
> On 4/24/07, Beauford <[EMAIL PROTE
Heh, lucky me I was just looking into that earlier today.
http://us.php.net/manual/en/language.types.string.php
Around the "Simple Syntax" area.
-Logan
-Original Message-
From: Robert Cummings [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 25, 2007 9:42 AM
To: Man-wai Cha
> -Original Message-
> From: Paul Novitski [mailto:[EMAIL PROTECTED]
> Sent: Friday, April 27, 2007 3:01 AM
> To: php-general@lists.php.net
> Subject: Re: [PHP] explode in mysql query
>
> At 4/26/2007 11:33 PM, Sebe wrote:
> >i have a mysql column that looks like this:
> >
> >groups
> >--
Just make sure you use []'s in your name, such as:
Then it will fill $bob as an array, instead of a string.
http://us2.php.net/manual/en/faq.html.php#faq.html.arrays
-Logan
> -Original Message-
> From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
> Sent: Friday, April 27
t *could* be more
useful. IMO an entire class just to handle retrieving data an array (or
4 if you include GPC and request) would become unnecessary overhead.
But then again, maybe I am missing the point of this 'request' class.
-Logan
> -Original Message-
> From: js [ma
things for .Net,
but I as I am not a .Net web developer, I can't help you out in that
area.
-Logan
> -Original Message-
> From: Murtaza Chang [mailto:[EMAIL PROTECTED]
> Sent: Sunday, April 29, 2007 3:13 PM
> To: php-general@lists.php.net
> Subject: [PHP] single sig
.___domainname___.com, so since you have
"spanishbyproz.com", you can probably try mysql.spanishbyproz.com.
-Logan
> -Original Message-
> From: Stephen Hernandez [mailto:[EMAIL PROTECTED]
> Sent: Sunday, April 29, 2007 7:29 PM
> To: php-general@lists.php.net
> Subject: [PH
test it by:
$pid = pcntl_fork();
if($pid == -1) {
// Something went wrong (handle errors here)
} elseif($pid == 0) {
// This part is only executed in the child
usleep(500); //wait 5 seconds... see if the request hangs here
} else {
die();
}
Then wait and see what happens.
Maybe there
52 matches
Mail list logo