exec call and it will chop of the string after it.
$securecrt = "\"C:\\Documents and Settings\\user\\Desktop\\putty.exe
telnet://
10.3.215.15/\"";
--
**
Hans Åhlin
Tel: +46761488019
icq: 275232967
http://www.kronan-net.com/
irc://irc.freenode.net:6667 - TheCoin
**
2011/7/7 Daniel Brown :
> On Thu, Jul 7, 2011 at 02:18, Hans Åhlin wrote:
>>
>> I't is useless to argue with this guy,
>> I had the same problem with him allot of times and it always ended up
>> with him not understanding and insulting me.
>> So i put a slas
y carry.
>
> I'm not sure why you think I do, but I have no problem with the emails I get
> as a result of subscribing to this mailing list - in fact I find them
> invaluable. I've found the list invaluable whenever I've had a problem I
> can't solve myself, and
in the same way
$Pos = strpos($Line, '[', $Pos2)
$Pos2 = strpos($Line, ']' , $Pos)
if($Pos == false || $Pos2 == false){
$Ctrl = false
}
}else{
copy the whole line to $NewFile
}
add \r\n to $NewFile
}
ks because of Apaches support for mod_rewrite.
ie, http://www.example.com/virtual_dir/script/option/?Foo=bar -->
/my_script.php?Foo=bar
--
**
Hans Åhlin
Tel: +46761488019
icq: 275232967
http://w
> (Yes, all possible file paths have been investigated)
>
> Nor, can I copy the file by:
>
> $result = copy($_FILES['userfile']['tmp_name'], $path . '/' .
> $_FILES['userfile']['name']);
>
> The only difference I see is the
>
> You could try http://forums.mysql.com/ or have a look around Yahoo
> groups (e.g. php_my...@yahoogroups.com).
>
> HTH,
>
> --
> Geoff
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
blob.html
--
******
Hans Åhlin
Tel: +46761488019
icq: 275232967
http://www.kronan-net.com/
irc://irc.freenode.net:6667 - TheCoin
**
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, vi
--
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
**
Hans Åhlin
Tel: +46761488019
icq: 275232967
http://www.kronan-net.com/
irc://irc.freenode.net:6667 - Th
ne is going to be interpreted as #101/#102/#103 aso (that i
figured when you wrote that putting a space in the beginning of the
echo solved the problem.
> else
echo "
\r\n";
> }
--
**
Hans Åhlin
Tel: +4676148
2010/11/19 Daniel P. Brown
>
> On Fri, Nov 19, 2010 at 17:07, Tamara Temple wrote:
> >
> > Perhaps it's just me, but I'm completely missing the point of this. How is
> > someone going to get your code off of a server?
>
> It's more likely that he's interested in learning how to protect
> code
Hi
Does any one know if there is any way for me to protect my source code
without the requirement of a extension being installed on the server?
i.e encryption, obfusicator, script library, compile the code.
Any idea is appreciated.
Thanks / Hans
the system uses the mksk that the the admin
who create the user uses.
This has the advantage that you can re-encrypt the ssn table and the only
key you have to change is the master key.
**
Hans Åhlin
Tel: +46761488019
icq: 275232967
http
sorry for the empty mail, my web-browser crashed)
~Philip
>
> http://lonestarlightandsound.com/
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
**
Hans Åhlin
Tel: +46761488019
icq: 275232967
http://www.kronan-net.com/
irc://irc.freenode.net:6667 - TheCoin
**
/www.ashleysheridan.co.uk
>
> I thought that GIF was patented or copyrighted or something - didn't know
> if it was possible to create GIFs with ImageMagick/PHP. Did I pull that from
> left field
>
> ~Philip
>
> http://lonestarlightandsound.com/
>
>
> -
**
Hans Åhlin
Tel: +46761488019
icq: 275232967
http://www.kronan-net.com/
irc://irc.freenode.net:6667 - TheCoin
**
2010/7/30 Pete Ford
> On 29/07/10 19:10, tedd wrote:
>
>> At 9:5
<http://www.eggheadcafe.com/community/aspnet/3/10002280/scroll-positions.aspx>
http://www.daniweb.com/forums/thread60189.html
**
Hans Åhlin
Tel: +46761488019
icq: 275232967
http://www.kronan-net.com/
irc://irc.freenode.net:666
*.api
Application Programming Interface
http://en.wikipedia.org/wiki/Application_Programming_Interface
**
Hans Åhlin
Tel: +46761488019
icq: 275232967
http://www.kronan-net.com/
irc://irc.freenode.net:6667 - TheCoin
7;Error, try again';
}
**
Hans Åhlin
Tel: +46761488019
icq: 275232967
http://www.kronan-net.com/
irc://irc.freenode.net:6667 - TheCoin
**
2010/7/3 Carlos Sura :
>
>
> Hello, this function does not work for me... And
#x27;,'".$field[3]."','".$field[4]."','".$field[5]."','".$field[6]."');");
**
Hans Åhlin
Tel: +46761488019
icq: 275232967
http://www.kronan-net.com/
irc://irc.freenode.net:6667 - TheCoin
**
A year can have 52 or 53 weeks and it can begin with week nr 1, 52 or 53
check this algorithm
http://www.threesides.se/blogg/2010/04/15/date-calculation-algorithm/
**
Hans Åhlin
Tel: +46761488019
icq: 275232967
http://www.kronan-net.com
Did you include the necessary php code?
**
Hans Åhlin
Tel: +46761488019
icq: 275232967
http://www.kronan-net.com/
irc://irc.freenode.net:6667 - TheCoin
**
2010/6/21 Ernie Kemp
> This is no
The thing I did beside the stuff already mentioned is,
I took stuff from real life and I tried to define them and then write
a program that handled/simulated it.
**
Hans Åhlin
Tel: +46761488019
icq: 275232967
http://www.kronan-net.com/
irc
Thanks for that, it saved me some thinking when I reach the error
handling class with in my project.
**
Hans Åhlin
Tel: +46761488019
http://www.kronan-net.com/
irc://irc.freenode.net:6667 - TheCoin
Lineage II
Comanche 4
Unreal Tournament
Blood Rayne 1 and 2
Battlefield 2, 2142
Warhammer 40k
Fallout 1, 2 and 3
My game list at CheatHappens.com
http://www.cheathappens.com/show_user.asp?userID=553587
**
Hans Åhlin
Tel: +46761488019
http
Is this the new "threading support" thread?!?!
Why don't nuke everything then its nothing to use or complain about...
**
Hans Åhlin
Tel: +46761488019
http://www.kronan-net.com/
irc://irc.freenode.net
2010/4/21 David McGlone :
> On Wed, 2010-04-21 at 14:49 +0200, Peter Lind wrote:
>> On 21 April 2010 14:38, Hans Åhlin wrote:
>> > Why change the way that has been around for years and adopted by
>> > multiple e-mail lists?
>> > It feels like it's more p
2010/4/21 David McGlone :
> On Wed, 2010-04-21 at 14:49 +0200, Peter Lind wrote:
>> On 21 April 2010 14:38, Hans Åhlin wrote:
>> > Why change the way that has been around for years and adopted by
>> > multiple e-mail lists?
>> > It feels like it's more p
Why change the way that has been around for years and adopted by
multiple e-mail lists?
It feels like it's more problem to change the way for thousands of
users just to satisfy a couple of few.
******
Hans Åhlin
Tel: +46761488019
http://www.k
PHP
ever "grow up" and have threading?". it got 257+ replys ;)
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
**
Hans Åhlin
Tel: +46761488019
http
Try this insted
array(
[0]=>array( [0]=>75, [1] => Personal Email)
[1]=>array( [0]=>31, [1] => Personal Phone)
[2]=>array( [0]=>31, [1] => Web site)
[3]=>array( [0]=>31, [1] => Text Message)
[4]=>array( [0]=>40, [1] => USPS mail)
MvH / Hans Åhlin
Tel
Instead of ssh, you could use telnet to connect to the Cisco router
(which incidentally runs on port 23, but is likely to be disabled on
the cisco router, unless you have a pre-SSH capable IOS running on it
(like my old cisco crap :( ) ), because i strongly doubt you have
written or are willing to
MvH / Hans Åhlin
Tel: +46761488019
http://www.kronan-net.com/
irc://irc.freenode.net:6667 - TheCoin
2010/3/25 Rene Veerman :
> On Thu, Mar 25, 2010 at 6:13 AM, Hans Åhlin wrote:
>>I admit that if there were native support for threading I
>> would use it. But I don´t want
ative support for threading I
would use it. But I don´t want the support for threading if it
slowdown the performance.
MvH / Hans Åhlin
Tel: +46761488019
http://www.kronan-net.com/
irc://irc.freenode.net:6667 - TheCoin
2010/3/25 Tommy Pham :
> On Wed, Mar 24, 2010 at 7:53 PM, Michelle
uage. C++/C programmer sometimes must use assembler, in
asp/dot.net have to switch between VB,C# and so on. nothing new. thats
why languages now days are mainly based on C/C++ to make it easier to
jump between languages.
(PHP, Perl, Java, JavaScript is based on C/C++ aso)
--
MvH / Hans Åhlin
T
ects, Patterns, and Practice
ISBN10: 1-59059-380-4
**
Design Patterns: Elements of Reusable Object-Oriented Software
ISBN 0-201-63361-2
**
--
MvH / Hans Åhlin
Tel: +46761488019
http//www.kronan-net.com/
--
PHP Gen
th
> business right? If the company started small and want to use
> available open source solutions, then grow quickly because of their
> unique and quality products and services, and become enterprise level
> with-in a few years, what then? Slow down business growth just so
> that IT can migrate everything to another language? Of all the
> enterprise applications I've seen, they used threads.
>
Same answer as above.
> Regards,
> Tommy
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
MvH / Hans Åhlin
Tel: +46761488019
http//www.kronan-net.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
created a poll here too:
> http://www.rapidpoll.net/awp1ocy
>
> Past polls are below:
> http://www.rapidpoll.net/8opnt1e
> http://www.rapidpoll.net/arc1opy (although someone hacked this poll and
> loaded up the 76 votes like a little cheater)
>
>
> --
> PHP General Mailin
nesis, raise my hand.
> -- Kurt Vonnegut
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
MvH / Hans Åhlin
Tel: +46761488019
http//www.kronan-net.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
gt; i want to create a function that mix together this request code with user
> name that user entered and create new serial number.
> What implications i have to satisfy to create such hash function in php?
> Thanks for any suggestion
>
--
MvH / Hans Åhlin
Tel: +46761488019
http//
Hello Dipen,
I recently found Codenizer (http://www.softwarehood.com/Codenizer/) to do
similar (only code syntax & semantics analysis - no formatting) thing for
PHP. However I couldn't find out how to use it with eclipse, so I switched
to Netbeans for now.
Regards
On Mon, 23 Mar 2009 11:0
Hi Virgilio,
Thanks for that last link, I just know need to figure out why my Netbeans
doesn't work
like that (although I am using latest version)
On Sat, 21 Mar 2009 10:56:46 +0100, Virgilio Quilario
wrote:
Hi Hans,
Is this what you are looking for?
Debug PHP code using Xdebug
me. (
http://www.netbeans.org/kb/55/flash.html)
On Fri, Mar 20, 2009 at 5:07 PM, Hans Schultz
wrote:
On Fri, 20 Mar 2009 15:45:09 +0100, Virgilio Quilario <
virgilio.quila...@gmail.com> wrote:
On Fri, Mar 20, 2009 at 6:47 PM, Pierre Lilliman
wrote:
I have been using same program for some (no
include expressions). Still I think every
serious PHP developer should consider using something like this.
Cheers
--- On Thu, 3/19/09, Hans Schultz wrote:
If someone is still interested in problem I found litle tool that is
pretty close to detecting errors in PHP at compile time (compile time
experience :)
On Wed, 04 Mar 2009 11:03:04 +0100, Hans Schultz
wrote:
Concluding, and one idea...I think I received satisfying advices on
everything but first question (Detection of typos and other simple
mistakes). And we were talking also about being able to catch them at
compile time, then
hen its in week nr 01 else if equal to 4
(Friday) its week 53 else its week 52
http://threesides.kronan-net.com/2008/08/04/date-calculation-algorithm/
--
MvH / Hans Åhlin - www.kronan-net.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hehe,I don't agree with either :-) But I am still searching for some solution,
and when (and if) I find it I will be happy to share with you (btw, obviously
nobody shared experiences about that compiler)
Hans is the OP, the one you thought "got it all wrong.", you're act
hout any cost. Visit :
www.ubuntu.com
--
On Wed, Mar 4, 2009 at 4:03 PM, Hans Schultz wrote:
Concluding, and one idea...I think I received satisfying advices on everything
but first question (Detection of typos and other simple mi
ilar in PHP?
To: "Hans Schultz"
Cc: php-general@lists.php.net
Date: Thursday, February 26, 2009, 9:14 PM
Hans Schultz wrote:
> Hello,
> I am beginner with PHP and prior to PHP I have worked with java for some
time
> and with perl for very short period. I can't help
Thanks, this is the most useful answer I got. I will try to use that IDE
and to see if it works for me.
Regarding databases I was hopping for some abstraction layer like dbx only
better (to allow parameters).
Regards,
Hans
On Fri, 27 Feb 2009 15:41:55 +0100, Peter Ford wrote:
Hans
hp-general@lists.php.net, "9el"
Date: Friday, February 27, 2009, 1:43 PM
From: Hans Schultz
>
> Hahahah,I was thinking the same thing :D
>
> --- On Fri, 2/27/09, Ashley Sheridan
wrote:
> From: Ashley Sheridan
> Subject: Re: [PHP] "use strict" or similar in PHP?
>
Hahahah,I was thinking the same thing :D
--- On Fri, 2/27/09, Ashley Sheridan wrote:
From: Ashley Sheridan
Subject: Re: [PHP] "use strict" or similar in PHP?
To: "Hans Schultz"
Cc: php-general@lists.php.net, "9el"
Date: Friday, February 27, 2009, 1:11 PM
On
On Fri, Feb 27, 2009 at 3:08 PM, Hans Schultz
wrote:
On Thu, 26 Feb 2009 22:38:13 +0100, Shawn McKenzie
wrote:
There is no "compile" time. PHP is interpreted so it is compiled and
then executed.
If you always want error reporting, then set it in php.in
On Thu, 26 Feb 2009 22:38:13 +0100, Shawn McKenzie
wrote:
There is no "compile" time. PHP is interpreted so it is compiled and
then executed.
If you always want error reporting, then set it in php.ini.
It is compiled in no time, so there is no compile time?
LOL
--
Using Opera's revolut
top piracy, Let the developers live. Get
a Free CD of Ubuntu mailed to your door without any cost. Visit :
www.ubuntu.com
--
On Fri, Feb 27, 2009 at 3:13 AM, Hans Schultz wrote:
Oh, I didn't mentioned that I tried that,
Oh, I didn't mentioned that I tried that, I was thinking something like
failing at compile time (like perl with "use strict" in programs)Thanks for
reply,
Hans
--- On Thu, 2/26/09, Lewis Wright wrote:
From: Lewis Wright
Subject: Re: [PHP] "use strict" or similar in PH
separately with database doing necessary escaping and everything)..
Is there something like PHPDBC similar to JDBC?
You can use sprintf("select * from `user` where `username`=%s",$user);
Also you can look into the great frameworks of PHP like ZendFramework,
CodeIgniter, CakePHP etc.
mething like PHPDBC similar to JDBC?
TIA,
Hans
--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> As long as we're taking votes... Most of my template code looks like
> this:
> escape($this->var) ?>
>
> I'd be happy to never see any variation of bottleneck of my productivity.
I can appreciate that, but PHP *is* a templating language that is meant to
embed dynamic strings into static strin
nk good fit. Has this been listed as coming at the same
time as short tags go away (or preferably, before...)?
---
Hans Zaunere / Managing Member / New York PHP
www.nyphp.org / www.nyphp.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
tring = "'" . implode("','",
$tokensToGet) . "'" and add that instead of the (?).
I hope you can help me out in this matter. Thank you in advance.
Hans Henrik Petersen
System Developer
> I was wondering if there was any HTTP server written entirely in PHP
> with the following features:
>
> 1. HTTP/1.1 compliance
> 2. Apache mod_rewrite-like URL rewrite support
> 3. Native PHP support ( not through CGI/FastCGI )
> 4. Support PHP 4.2.0 or above
>
> Nanoweb is an H
Hi there,
I'm trying to post variables to a parent frame, I'm working from a page that
is in an iFrame. However, I don't know how to accomplish this. I tried
target='top' to include in the form tag (
target="top">) but this didn't succeed.
Can y
> From: Tony Marston <[EMAIL PROTECTED]>
> "Hans Juergen von Lengerke" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> >> From: Tony Marston <[EMAIL PROTECTED]>
> >>
> >> Any problems with locale are cased by havi
> From: Tony Marston <[EMAIL PROTECTED]>
>
> Any problems with locale are cased by having the language
> code in your browser set to something which cannot be
> matched up with the contents of the server's locale file.
> If it cannot find a match my software is supposed to keep
> the current defau
Just wrap it, like Example 1 of the manual shows
function my_echo($array, $key) {
echo $array[$key];
}
array_walk_recursive($array, 'my_echo');
> Date: Fri, 7 Apr 2006 15:42:40 +0100
> From: Chris Boget <[EMAIL PROTECTED]>
> To: php-general@lists.php.net
> Subject: [PHP] echo, print and is_
I usually do this by forcing the profile to be read before I
run the script. Something like
* * * * * . /etc/profile && /path/to/script
> Date: Tue, 04 Apr 2006 17:43:09 +0530
> From: Venkat Venkataraju <[EMAIL PROTECTED]>
> To: php-general@lists.php.net
> Subject: [PHP] FQDN of the server th
rently the link fails as it does not find the mysql client
> so files.
You need to use PHP 5.1 and the --with-libdir configure option, or could can do
a symlink.
See: http://marc.theaimsgroup.com/?l=php-dev&w=2&r=1&s=with-libdir&q=b
---
Hans Zaunere
President, Founder
New
FYI - RSVP if you plan on attending.
> -
> Very Special Meeting: IBM Presents their PHP Strategy to New York PHP
>
> RSVP Today, seats are limited:
> http://www.nyphp.org/rsvp.php
>
> All Attendees Must RSVP By Monday, June 27
FYI for those in the tri-state area.
> -Original Message-
> From: Hans Zaunere [mailto:[EMAIL PROTECTED]
> Sent: Sunday, June 12, 2005 2:50 PM
> To: [EMAIL PROTECTED]
> Subject: [nyphp-announce] IBM's PHP Strategy - New York PHP June Meeting
>
>
test
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
some reason passthru does not pass back the last line. And that is
exactly the line that I need! I also tried exec(), system() and shell_exec()
But PHP does not give me that last line.
I should mention that I'm on a freeBSD system with Apache 1.3.32 and PHP
4.3.10
Can anyone help me out on
> Date: Sun, 10 Apr 2005 08:00:23 - (UTC)
> From: [EMAIL PROTECTED]
>
> I have several IP in one interface (eth0) in my server and I want make
> connection to another server (check email, etc) using different ip for
> every mail server. I was read the document, and there is no way how to
> mak
> Brad Brevet:
>
> Hi, I am curious how to pass a variable without using something like id=321.
>
> I have seen sites that have something like
> http://www.website.com/something/321 and the variable is passed how exactly
> is that done? And is it called something specific so I know how to refer t
lished using two IP addresses
if available, instead of two different points.
---
Hans Zaunere
President, Founder
New York PHP
http://www.nyphp.org
AMP Technology
Supporting Apache, MySQL and PHP
> > > > Is there a way to install two version of php on the same machine,
otably NFS mounted shares.
Thanks to all who attempted to help me solve this problem.
Best regards,
Hans Deragon
--
Consultant en informatique/Software Consultant
Deragon Informatique inc. Open source:
http://www.deragon.bizhttp://facil.qc.ca (Promotion du libre)
mailto://[EMAIL PROTECTED
PHP `ls --color=never -ld /` and it fails to. ls is not the only
command having problems. I tried other commands like `find /lmw -name '*'`
and `cd /lmw` and they fail because of bad permissions.
Could it be because of SELinux? I wonder. I think that Apache runs under
some SEL
that the other functions would
change anything. `whoami` executed under php returns "apache", as we suspected.
Best regards,
Hans Deragon
--
Consultant en informatique/Software Consultant
Deragon Informatique inc. Open source:
http://www.deragon.bizhttp://facil.qc.ca (Promotion
my email to the list. I had
a problem with my mailer...
Best regards.
Hans Deragon
--
Consultant en informatique/Software Consultant
Deragon Informatique inc. Open source:
http://www.deragon.bizhttp://facil.qc.ca (Promotion du libre)
mailto://[EMAIL PROTECTED] http://autopower
-x9 rootroot4760 Mar 8 12:58 dev
drwxr-sr-x 30 qhander floppy 4096 Feb 28 16:19 devel
lrwxrwxrwx1 rootroot 28 Mar 3 07:25 env ->
/afs/sunrise.ericsson.se/env
drwxr-xr-x 86 rootroot 12288 Mar 9 16:43 etc
drwxr-xr-x2 rootroot4096 Mar 8 17:04 exp
-x9 rootroot4760 Mar 8 12:58 dev
drwxr-sr-x 30 qhander floppy 4096 Feb 28 16:19 devel
lrwxrwxrwx1 rootroot 28 Mar 3 07:25 env ->
/afs/sunrise.ericsson.se/env
drwxr-xr-x 86 rootroot 12288 Mar 9 16:43 etc
drwxr-xr-x2 rootroot4096 Mar 8 17:04 exp
ou will probably be better off just
> buying a second machine. Problem solved.
If you get another machine, you'll need two domains or subdomains anyway. Just
put them on the same box, with two IPs.
---
Hans Zaunere
President, Founder
New York PHP
http://www.nyphp.org
AMP Techn
> Hi, I've been trying to get these 2 compiled together for a while, and
> have had no luck.
>
> WHere my problem lies, I think, is that I'm not sure what directory
> should be specified on the --with-mysql part
>
> ./configure --with-apxs2=/usr/local/apache/bin/apxs
> --with-mysql=/usr/include/
irst line needs to be the dash-bang that point to your PHP binary.
#!/usr/local/php/bin/php
/usr/local/php/bin/php -v
To keep track of scripts that I run under Apache, versus those that run on
the command line, I use the .psh extension on those that run on the command
line.
---
Hans Zaunere
D:\Apache Group\Apache2\htdocs\YC\ycphpfunc.php on line 148
>=20
> My .php file looks like this:
>=20
>
>=20
>
...
Also, be sure there is no whitespace at the end of the ycphpfunc.php =
file, or leave off the closing PHP tag completely.
---
Hans Zaunere
President, Founder
N
Thanks!
"Jeffery Fernandez" <[EMAIL PROTECTED]> schreef in bericht
news:[EMAIL PROTECTED]
> Greg Donald wrote:
>
> >On Sat, 20 Nov 2004 13:52:32 -0800, Jed Smith <[EMAIL PROTECTED]> wrote:
> >
> >
> >>PHP attached to different Apaches can't share sessions, AFAIK. You'll
> >>need to make sure it's
Thx jed,
Ik will try and find out more based on what you told me
"Jed Smith" <[EMAIL PROTECTED]> schreef in bericht
news:[EMAIL PROTECTED]
> Hans J.J. Prins wrote:
> >>3. Is it the same copy of PHP? Same php.ini, same PHP SAPI?
> >
> > I really d
Hi
Im building a TCP server in PHP 5.0.2 on Windows. It will have to serve a
lot of clients (500+) with low traffic.
During this I have noticed that socket_select seems unable to supervise more
than 64 connections at a time (Not good when I need 500+). It stops with a
message that
"Socket sele
nd out?
> 5. What's your Listen directive look like, if YES for number 4?
Sorry, don't know what you mean by that.
> 6. Vhosts?
Does that mean virtual hosts? In that case yes
"Jed Smith" <[EMAIL PROTECTED]> schreef in bericht
news:[EMAIL PROTECTED]
> H
Hello,
I started a session at www.mydomain.com:/myscript.php
I want to destroy the session at www.mydomain.com/myscript.php
I seem to not be able to destroy it though. Does the different port have
anything to do with it?
Thx,
H J.J. P
--
PHP General Mailing List (http://www.php.net/)
To
tabs and newlines
differ from $html to the regular expression). So I tried this with success:
$html =<<test:
98938
EOB;
preg_match_all("/test:<\/B><\/P><\/TD>
([0-9]*)<\/P><\/TD><\/TR>/",$html,$match);
print_r($match);
Hans
On Thu, 7 Oct 200
it faster/more efficient to read one large file or several smaller ones?
It's a RS Linux server with a gig of memory.
I'm also looking at PHP Accelerator and such. Do those store only in memory
what the script needs, or does it include all that you require or include in, as
well?
T
_POST['email'];
$email2= $_POST['email2'];
$nickname = $_POST['name'];
$city = $POST['city'];
$state = $_POST['state'];
$country = $_POST['country'];
$misc = $_POST['misc'];
$country = $_POST['coun
> From: Al <[EMAIL PROTECTED]>
>
> $text= preg_replace("/\n\n+/", "\n\n", $text);
> // remove excess This doesn't seem to do anything.
Strange, your code works for me:
[EMAIL PROTECTED]:~ > cat foo.php
[EMAIL PROTECTED]:~ > php ./foo.php
before:
===
foo
bar
===
after:
===
foo
bar
===
thank you :)
"Rasmus Lerdorf" <[EMAIL PROTECTED]> schreef in bericht
news:[EMAIL PROTECTED]
> Means the cookie will only be sent over an HTTPS connection.
>
> On Wed, 5 Mar 2003, Hans Prins wrote:
>
> > Can anyone tell me what the secure argument in
Can anyone tell me what the secure argument in the setcookie() function
does?
setcookie ( string name [, string value [, int expire [, string path [,
string domain [, int secure])
thx
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Also, don't forget to escape the $ character in your expression, since it is
reserved for variable declaration.
"Ales KrajníK" <[EMAIL PROTECTED]> schreef in bericht
news:[EMAIL PROTECTED]
> Well ...
>
> - the {7,9} means that the previous char/group should repeat 7 to 9 times
> ...
> - ^ means t
You will need the GD library of image functions for this to work.
You can find more information at the following page:
http://www.php.net/manual/en/ref.image.php
gl
"Randum Ian" <[EMAIL PROTECTED]> schreef in bericht
news:[EMAIL PROTECTED]
> Hi guys,
>
> Is it possible to resize an uploaded file
If your html table is too wide that is useually due to a pixel size or a
percentage which is too large. You could try playing around with those
values and calculate how much columns you have and maybe how much of a
percentage size they should have relative to the screen width
tables can be a bi
Assuming that you do want to replace "[p]" with "", the code you posted
worked for me. The following printed: "leadingtexttrailingtext" to the
screen
');
$text = "leadingtext[p]trailingtext";
$words = str_replace ($find, $replace, $text);
print $words;
?>
"Al" <[EMAIL PROTECTED]> schreef in b
1 - 100 of 138 matches
Mail list logo