Hi,
TR> You will have to do it using the socket api something like this but
TR> with error checking:
TR> $sourceip = '192.168.1.1'; // ip you want to bind to
TR> $sock = socket_create(AF_INET, SOCK_STREAM, SOL_TCP);
TR> socket_bind($sock, $sourceip);
TR> socket_connect($sock, 'example.com', 2043
Hello,
You can use javascript and Ajax together. If you use the ajax, you
can validate your data with PHP code. Please visit the web site below. You
will find information about PHP and Ajax::)
http://www.w3schools.com/php/default.asp
--
Republic Of Turkey - Ministry of National Edu
Hello,
If you use read only textbox in HTML, you can use like a following
HTML code.:)
--
Republic Of Turkey - Ministry of National Education
Education Technology Department Ankara / TURKEY
Web: http://www.haydartuna.net
""Ross"" <[EMAIL PROTECTED]>, haber iletisinde þunlarý
yazdý:[
Hello,
You can use following example:)
body[0]->addChild("book", "Atatürk The Rebirth Of A Nation");
?>
Republic Of Turkey - Ministry of National Education
Education Technology Department Ankara / TURKEY
Web: http://www.haydartuna.net
"Timothy Murphy" <[EMAIL PROTECTED]>, haber iletisin
At 4/7/2007 09:49 AM, Martin Alterisio wrote:
The solution I presented is to access, and act upon, a database as if they
were PHP arrays, meaning that a table is presented as an array of records.
This implies to me that you'll read a series of tables into arrays,
modify the arrays, then update
Hi,
Sunday, April 8, 2007, 6:51:46 AM, you wrote:
cac> Hi is it possible to socket_bind with fsockopen? im using this with all my
scripts...
cac> $fs = fsockopen('example.com', 2043, $errno, $errstr, 60);
cac> if (!$fs) {
cac> fclose($fs);
cac> and I need the remote conection to see me as one o
Does anyone use xdebug with QUanta?
Could you give a tutorial to use it?
Or give me a website link about this?
Tnx
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Robert Cummings wrote:
>Or... there's some strong arming happening to force the move. PHP4
>userbase greatly outnumbers the PHP5 userbase. I think the userbase
>speaks louder than the support timeframe.
>
>Cheers,
>Rob.
>
>
Damien Seguy's latest stats showing the adoption rates of PHP5 show wha
anyone here using the ribs php rsync script?
i keep getting:
rsync: link_stat "/home/site" failed: No such file or directory (2)
does the directory structure need to match on both local/remote servers?
example, i'm trying to back up /home/site to /home/backup
not sure if the remote backup serv
Myron Turner wrote:
> Travis Doherty wrote:
>
>>>
>>
>> What about the argument that PHP4 is dead. It's done. It's over.
>> There is no reason anyone should be using it, less perhaps a lack of
>> time to tweak scripts for an upgrade from 4 to 5. Even if that is the
>> case, get to work :p
On Sat, 2007-04-07 at 21:15 -0300, Yves Arsenault wrote:
> Although I rarely post here (mostly lurking)...
>
> I would think that the mere fact that support for PHP4 ends in 8 months
> should be in and of itself a strong argument for the server admins.
>
> In my current position, I code and am re
Although I rarely post here (mostly lurking)...
I would think that the mere fact that support for PHP4 ends in 8 months
should be in and of itself a strong argument for the server admins.
In my current position, I code and am responsible for a few different
servers.
It's certainly a strong argu
Stut wrote:
tedd wrote:
Okay, I think I figured out a fix -- try it again. :-)
http://sperling.com/a/arrows/
A little knowledge is a dangerous thing.
Give up now, while you're still sane.
Think about what you're trying to do. You're trying to do something
different on the client every time
tedd wrote:
Okay, I think I figured out a fix -- try it again. :-)
http://sperling.com/a/arrows/
A little knowledge is a dangerous thing.
Give up now, while you're still sane.
Think about what you're trying to do. You're trying to do something
different on the client every time, but without
Well, I cracked it for you :)
http://86.86.80.41/dev/debug/tedd.php
At the bottom it shows you the MD5 code of your arrow image, and it
shows you which way it points to :)
If you're interested in the code:
http://86.86.80.41/dev/debug/tedd.txt
Tijnema
Tijnema:
Okay, I think I figured out a
I have a dedicated server with a number of IP addresses.
When you make a connection through fsockopen it connects using the servers
main IP address.
What I want to do is specify which of my IP addresses fsockopen uses.
Thanks
- Original Message -
From: "Tijnema !" <[EMAIL PROTECTED]>
At 10:33 PM +0200 4/7/07, Tijnema ! wrote:
On 4/7/07, tedd <[EMAIL PROTECTED]> wrote:
At 11:56 PM +0100 4/6/07, Tijnema ! wrote:
On 4/6/07, tedd <[EMAIL PROTECTED]> wrote:
At 2:55 PM +0100 4/6/07, Tijnema ! wrote:
I know, but animated gifs are still quite easy to read with a bot.
Really?
W
After some testing and reading, I think this function is still experimental.
Anyone else has some thoughts on this?
--
itoctopus - http://www.itoctopus.com
"Matthew Dellar" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I have a problem,
>
> I need to turn an iterator into an array,
Travis Doherty wrote:
What about the argument that PHP4 is dead. It's done. It's over.
There is no reason anyone should be using it, less perhaps a lack of
time to tweak scripts for an upgrade from 4 to 5. Even if that is the
case, get to work :p
"Support for PHP 4 will be dropped at th
On 4/7/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Hi is it possible to socket_bind with fsockopen? im using this with all my
scripts...
$fs = fsockopen('example.com', 2043, $errno, $errstr, 60);
if (!$fs) {
fclose($fs);
and I need the remote conection to see me as one of my other IP's
I
I have a problem,
I need to turn an iterator into an array, but when I do, some methods I
need to use stop working.
Take a look at the following example:
$dir = 'c:/';
$files = new DirectoryIterator($dir);
//$files = iterator_to_array($files);
foreach ($files as $file) {
echo "{$file->get
Hi is it possible to socket_bind with fsockopen? im using this with all my
scripts...
$fs = fsockopen('example.com', 2043, $errno, $errstr, 60);
if (!$fs) {
fclose($fs);
and I need the remote conection to see me as one of my other IP's
Ive read through socket_bind
http://uk.php.net/manual/en/fu
On 4/7/07, tedd <[EMAIL PROTECTED]> wrote:
At 11:56 PM +0100 4/6/07, Tijnema ! wrote:
>On 4/6/07, tedd <[EMAIL PROTECTED]> wrote:
>>At 2:55 PM +0100 4/6/07, Tijnema ! wrote:
>>>I know, but animated gifs are still quite easy to read with a bot.
>>
>>Really?
>>
>>What if I a created a box surrounde
Tijnema ! wrote:
On 4/7/07, itoctopus <[EMAIL PROTECTED]> wrote:
Use the function is_url (note that I haven't written it) instead to
check if
the link is a URL.
Not only your method may count some links twice, but it will count wrong
URLs also.
External is not a URL
that will
take someone ext
On 4/7/07, itoctopus <[EMAIL PROTECTED]> wrote:
Use the function is_url (note that I haven't written it) instead to check if
the link is a URL.
Not only your method may count some links twice, but it will count wrong
URLs also.
External is not a URL that will
take someone externally.
Below is th
In news: [EMAIL PROTECTED],
Afan Pasalic wrote on :
>> hi,
>> I just installed php 5.2.1-win32-installer on win box (XP). use IIS.
>> created index.html file and localhost/index.html is ok.
>> created phpinfo.php (with only phpinfo()) and was ok.
>> then installed Zend 5.5.0 (try) and suddenly, IE
On Sat, 2007-04-07 at 10:26 -0400, tedd wrote:
> At 9:11 PM -0400 4/6/07, Robert Cummings wrote:
> >On Fri, 2007-04-06 at 20:44 -0400, Mike Shanley wrote:
> > > With POST, everything stays hidden, mostly untamperable, and
> >
> >Bullshit. It is VERY easy to tamper with post data.
>
> Please provi
On Apr 7, 2007, at 9:26 AM, tedd wrote:
At 9:11 PM -0400 4/6/07, Robert Cummings wrote:
On Fri, 2007-04-06 at 20:44 -0400, Mike Shanley wrote:
> With POST, everything stays hidden, mostly untamperable, and
Bullshit. It is VERY easy to tamper with post data.
Please provide an example.
cu
Fernando Cosso wrote:
> Hi
> I know this topic has to be discussed several times but I have a
> situation I
> need some advices.
>
> I am working in a small company. The company does everything you need.
> Computer service, sell computers, install servers, web page, etc. I am in
> the web departme
I have a dilemma on a design where I humbly ask your help. I'm working on
the model part of a web application (not to be understood in the "web2.0"
way, but in a more general way, where anything mounted on HTTP is a web
application) done in PHP5 following the MVC design pattern. But the strong
poi
looks like I didn't get the question. I thought he's asking how to start
a project.
to start to learn php of course you don't need paper and pencil. books,
online tutorials, php.net and time.
though, for a new project (if you never did similar before and if you
don't already have the code you ca
Team,
I want to know if my table is setup correctly.
I am creating a site where team owners control fantasy football teams.
Imaginary teams. They can trade players, add and drop them as long as
they are under the salary cap at all times. if not they are given a warning
to make a different mov
At 11:56 PM +0100 4/6/07, Tijnema ! wrote:
On 4/6/07, tedd <[EMAIL PROTECTED]> wrote:
At 2:55 PM +0100 4/6/07, Tijnema ! wrote:
I know, but animated gifs are still quite easy to read with a bot.
Really?
What if I a created a box surrounded by letters, like so:
A B C
D E F
G H I
However, wh
already did. though, my "expertize" is telling me: install php4 instead php5
:D
Tijnema ! wrote:
On 4/7/07, Tijnema ! <[EMAIL PROTECTED]> wrote:
On 4/7/07, Afan Pasalic <[EMAIL PROTECTED]> wrote:
> hi,
> I just installed php 5.2.1-win32-installer on win box (XP). use IIS.
> created index.html
At 4/7/2007 03:10 AM, Stut wrote:
The difference between get and post is not what you *can* do, it's
what you *should* do.
Get, as the name implies, should be used when retrieving a page. The
URL, including the query string, should contain info needed to
retrieve the right page. No significan
use IIS.
Tijnema ! wrote:
On 4/7/07, Afan Pasalic <[EMAIL PROTECTED]> wrote:
hi,
I just installed php 5.2.1-win32-installer on win box (XP). use IIS.
created index.html file and localhost/index.html is ok.
created phpinfo.php (with only phpinfo()) and was ok.
then installed Zend 5.5.0 (try) an
POST is mainly used to modify data, GET is mainly used to show data.
--
itoctopus - http://www.itoctopus.com
"barophobia" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> My Peeps,
>
> I only know of one reason to submit a form as POST and that is because
> you can submit more data in
Use the function is_url (note that I haven't written it) instead to check if
the link is a URL.
Not only your method may count some links twice, but it will count wrong
URLs also.
External is not a URL that will
take someone externally.
Below is the function is_url
function is_url($url) { return
p
At 9:11 PM -0400 4/6/07, Robert Cummings wrote:
On Fri, 2007-04-06 at 20:44 -0400, Mike Shanley wrote:
> With POST, everything stays hidden, mostly untamperable, and
Bullshit. It is VERY easy to tamper with post data.
Please provide an example.
Cheers,
tedd
--
---
http://sperling.com h
In my opinion, it is very safe to go for PHP5 (it's been out for a long time
now). Also, PHP5 has a lot of built-in functionality that you will
definitely feel you're lacking in case you go for PHP4. And don't forget,
PHP4 will be deprecated sooner or later (I'm sure the developers will not
really
Daevid Vincent wrote:
>> not very helpful, but an apt quote from 'the man':
>> http://fplanque.net/Blog/devblog/2005/12/21/rasmus_i_don_t_like_soap
>
> Yeah, unfortunately, I *must* use SOAP. Not my choice, but politics and
> company decree, blah blah...
>
>> b, you should catch exceptions
>
> T
I'd still like some actual recommendations for a good book for
beginners.
My "PHP and MySQL for Dynamic Web Sites: Visual QuickPro Guide" has
already been mentioned by someone and gets good reviews. If you want
something more basic, I wrote "PHP for the World Wide Web: Visual
QuickStart G
On Sat, 2007-04-07 at 13:59 +0100, Stut wrote:
> Robert Cummings wrote:
> > On Sat, 2007-04-07 at 11:10 +0100, Stut wrote:
> >> These implied "rules" have existed since HTTP was invented, and when you
> >> think about it they make a lot of sense. They also get emphasized by the
> >> existance of
Robert Cummings wrote:
On Sat, 2007-04-07 at 11:10 +0100, Stut wrote:
These implied "rules" have existed since HTTP was invented, and when you
think about it they make a lot of sense. They also get emphasized by the
existance of so-called web accelerators that simply pre-fetch URLs on
the page
On Sat, 2007-04-07 at 11:10 +0100, Stut wrote:
>
> These implied "rules" have existed since HTTP was invented, and when you
> think about it they make a lot of sense. They also get emphasized by the
> existance of so-called web accelerators that simply pre-fetch URLs on
> the page the user is vi
Maybe this could help...
GET
http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.3
POST
http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.5
URI
http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.2.1
jm
- Original Message -
From: "barophobia" <[EMAIL PROTECTED
On Saturday 07 April 2007 05:56, Paul Novitski wrote:
> >barophobia wrote:
> >>I only know of one reason to submit a form as POST and that is because
> >>you can submit more data in one shot.
>
> At 4/6/2007 05:44 PM, Mike Shanley wrote:
> >When you submit via GET, all the info shows up in the URL,
barophobia wrote:
I only know of one reason to submit a form as POST and that is because
you can submit more data in one shot.
What other reasons are there?
The difference between get and post is not what you *can* do, it's what
you *should* do.
Get, as the name implies, should be used when
On 4/7/07, Tijnema ! <[EMAIL PROTECTED]> wrote:
On 4/7/07, Afan Pasalic <[EMAIL PROTECTED]> wrote:
> hi,
> I just installed php 5.2.1-win32-installer on win box (XP). use IIS.
> created index.html file and localhost/index.html is ok.
> created phpinfo.php (with only phpinfo()) and was ok.
> then
On 4/7/07, Afan Pasalic <[EMAIL PROTECTED]> wrote:
hi,
I just installed php 5.2.1-win32-installer on win box (XP). use IIS.
created index.html file and localhost/index.html is ok.
created phpinfo.php (with only phpinfo()) and was ok.
then installed Zend 5.5.0 (try) and suddenly, IE is giving me b
On 4/7/07, Paul Novitski <[EMAIL PROTECTED]> wrote:
>barophobia wrote:
>>I only know of one reason to submit a form as POST and that is because
>>you can submit more data in one shot.
At 4/6/2007 05:44 PM, Mike Shanley wrote:
>When you submit via GET, all the info shows up in the URL, so people
51 matches
Mail list logo