You can see the below code in action at:
http://www.ionzoft.com/code/testing/globals.php
';
echo '$foo_error = ', $foo_error, '';
echo '$foo_ok = ', $foo_ok, '';
echo '';
CreateGlobals("foo");
echo '';
echo 'After Call to CreateGlobals()';
echo '$foo_error = ', $foo_error, '';
echo '$foo_ok = '
Hi am trying to add data from html form, and it seems like the line 14 in
my script,
$sybase_query="INSERT into problem
VALUES('$product','$pro_title','$description','$solution')";
$sybase_result=sybase_query($sybase_query);
Warning: Sybase message: Incorrect syntax near 't'. (severity 15) i
Hi,
Well I'm not totally sure, why socket_get_status would
not give you the correct value, other than a bug, as
the manual does indicate the socket functions are
experimental.
There are altenative ways to get the number of bytes
in the buffer, like using ioctl with FIONREAD,
ofcourse that is a C
Hi all !
Does anybody has a solution of paging result for Sybase + PHP ?
Like <>
Thanks.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
Hi !
I was able to determine the user's screen resolution, but I'd like to let php know
that(the next page loaded should be in
the right resolution, I'd like to pass a value to php, but I don't know how).
Thanx
Nikola
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mai
Nikola,
I'm not a javascript user and new to php too.
Is it possible to form your javascript result into a 'hidden' form value.
That could then be read by the next php page.
HTH
George
- Original Message -
From: "Nikola Veber" <[EMAIL PROTECTED]>
To: "php forum" <[EMAIL PROTECTED]>
Sen
Hi.
You should go on the forum php.db.
Sc wrote:
> Hi;
>
> I am new to php and i need to extract specific lines of data from a plain
> text file and insert it into a sql db Can anyone give me some details
> on howto do this? or an example to read the specific line that i need?
>
> Thanks
Way will this Command not work in the httpd.conf file
I have safe mode turned on in the php.ini file but I what it off in
one of my sites so I added php_admin_flag safe_mode off to the virtualhost
that I want it off in like below
other stuff
php_admin_flag safe_mode off
Accord
Hi,
Can anyone recommend a good, configurable php chat?
I've tried phpMyChat which seems pretty good.
Any ideas?
Cheers,
Jord
--
Jordan Elver
Web Developer
The InternetOne UK Ltd
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional comman
FROM: MARIAM ABACHA
Dear friend,
Following the sudden death of my husband, Late General
Sanni Abacha, the former head of state of the federal
Republic of Nigeria in June 1998, I have been thrown
into a state of utter confusion, frustration and
hopelessness by the present civilian adminis
> There's a better way to do this:
>
> $naughty_words = array(
> 'poop',
> 'bum',
> 'religion'
> );
>
> echo in_array($text, $naughty_words) ? "found bad words!" : "text is
> clean!";
> ?>
This won't work, since you're trying to find the whole of $text in the array
$naughty_words
On Mon, 1 Oct 2001 [EMAIL PROTECTED] wrote:
> FROM: MARIAM ABACHA
>
> Dear friend,
*snicker* They aren't content with good old postal mail (my parents'
company used to get these ALL the time!) - they've gone electronic!
Wonder if I can create a killfile for that kind of mail. Wonder how
many
I posted a msg earlier on regarding error when adding text with quotes '
..
I have just found out thar I need to use addslash() function,
my q's is
where do i put this function?
Caleb Carvalho
Application Engineer
LoadRunner/APM
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Sunday 30 September 2001 21:36, Nikola Veber wrote:
> Hi !
>
> I was able to determine the user's screen resolution, but I'd like to let
> php know that(the next page loaded should be in
> the right resolution, I'd like to pass a value to php, but
$field_value = "I 'm bla bla";
$field_value = addslashes($field_value);
$sql = "Insert into TABLE values('$field_value');
- Original Message -
From: "Caleb Carvalho" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, October 01, 2001 2:05 PM
Subject: [PHP] still learning php
>
hi,
my problem is this: i'm using a while loop to check elements in an
Array for valid email syntax. if $User[0] is a valid email address but
$User[1] is not, the code for $User[0] is still executed before the die
statement. i need my loop to finish checking ALL array elements for
validity, an
Yes, but when you run it from command line it is run with your account that
has H:\ mapped.
The scheduler is run as the account 'System' and that doesn't know anything
about H:\.
/Joakim
> -Original Message-
> From: Warren Vail [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, September 29, 2
> if ($flag = 1) {
> die ("Email #$errorNo is not a valid e-mail
should be:
if ($flag == 1) // notice the double-equal signs
"Tom Churm" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> hi,
>
> my problem is this: i'm using a while loop to check elements
PersonalDB´Â »õ·Î¿î °³ÀÎ Áö½Ä ¹× Á¤º¸°ü¸® ½Ã½ºÅÛÀÔ´Ï´Ù.
PersonalDB¿Í ÇÔ²² »õ·Î¿î Á¤º¸È ¼¼°è·Î ³ª¾Æ°¡Áö ¾ÊÀ¸½Ã°Ú½À´Ï±î?
To. php-general ´Ô²²
PersonalDB.net ȸ¿øÀ¸·Î ÃÊ´ë¹ÞÀ¸¼Ì½À´Ï´Ù.
From. À¥°ü¸®ÀÚ ( mailmaster )
_
and btw Maxim...I didn't write the $naught_words array in the first place...
"Maxim Maletsky )" <[EMAIL PROTECTED]> wrote in message
news:014a01c14a54$05530640$4829abd4@tatiana...
Sorry, I meant since PHP 4 only, as it is when function in_array() was
introduced
Maxim Maletsky
www.PHPBeginner.c
hi, _lallous:
i've tried it with "==" and it still doesn't work: code for the valid
variables is executed before my die() function is called.
thanks, though,
tom
_lallous wrote:
>
> > if ($flag = 1) {
> > die ("Email #$errorNo is not a valid e-mail
>
> should be:
>
> if ($flag == 1) //
Hi Dimitris,
thanks, but what if I have 5 fields to add into ie name,surname,comments?
Caleb Carvalho
Application Engineer
LoadRunner/APM
-
Enterprise Testing and Performance Management Solutions
--
Use addslashes() to escape single quotes or double quotes. It 's in the
manual
// giving some values
$firstname ="Bob";
$lastname = "O' Reily"; // This could cause an error if not use addslashes
$address = "Somewhere";
$age= 19;
// adding slashes to quotes
$firstname = addslashes($firstname)
You just add more fields:
$sql = "Insert into TABLE values('$name', $surname, $comments);
that's assuming that the order of the data exactly matches the order of the
fields in the table.
Take the time to work through a couple of MySQL tutorials(assuming that's
what you're using), and have a lo
bonjour ,
Aimeriez-vous survoler pendant 20 mn la Provence en hélicoptère ?
admirer plus de 400 photos et textes inédits ?
tout cela existe maintenant sur un simple CD expédiable au tarif lettre.
pour plus de détails visitez la rubrique CATALOGUE du site :
http://www.lavand
thank you s much that was much much better indeed :),
i am assuming that i need to use the same for sql_quey sql_display
is that correct?
Caleb Carvalho
Application Engineer
LoadRunner/APM
-
Enterprise T
$sql = " select firstname, lastname, address etc from TABLE";
execute sql statement;
while fetching records {
$firstname = stripslashes( $firstname);
$lastname = stripslashes ( $lastname); // "O\' Reily" now becomes "O'
Reily"
}
that's all
- Original Message -
From: "Caleb Ca
echo $PHPSESSID on every page, is it the same on every page ?
I usually recommend that you create the register variables too.
else {
$userid = '';
$userpassword = '';
session_register('userid');
session_register('userpassword');
}
if $PHPSESSID is set then session_start() will find it a
Recursion means you call a function which calls itself to get the job done.
Recursive functions have two parts, the base case and the recursive method.
The base case is the goal which signals that your function stops calling
itself...
sort of like the condition in a while loop... but for a functio
Thank you so much! This eases my worries for next semester.
Would happen to have an example script showing PHP using recursion?
Thanks again!
Martin wrote:
>Hi Andres,
>
>Yes, PHP support "recoursion". That means, that you are calling a function
>again and again, but with new start-parameters.
My god does PHP need one. Or a library of functions to use.
Yes, I have built in CURL support and am reading the $HTTP_RAW_DATA_POST
variable and rolling my own as they say, but it sure would be nice. I've
seen Manual Lemos' soap classes, and they are cool, but aren't really what I
need.
PHP i
> -Original Message-
> From: Caleb Carvalho [mailto:[EMAIL PROTECTED]]
> Sent: Monday, October 01, 2001 4:04 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Warning: Sybase message: Incorrect syntax near 't'.
>
>
> Hi am trying to add data from html form, and it seems like
> the line 14
Where is the closing brace for your while loop?
-Steve
On Monday, October 1, 2001, at 07:04 AM, Tom Churm wrote:
> hi,
>
> my problem is this: i'm using a while loop to check elements in an
> Array for valid email syntax. if $User[0] is a valid email address but
> $User[1] is not, the code f
hi
don't put an expiry date in the cookie, this way it should expire when the
browser window is closed, just aguess...
regards
At 22:07 30/09/03, Ryan Mahoney wrote:
>When a client date is ahead of my server or incorrect the cookie that php
>uses to maintain the session is expired immediately
thank you all, you've been a really good help
I must say i've learned a lot, i will now try and get busy
ps. this php mailing list really works :>)
many thanks
Caleb Carvalho
Application Engineer
CSO Europe
LoadRunner/APM
You could also consider possibly the reverse of what you're doing. I'm not
sure if it would actually work well, nor can I give you real details on how
to do it, but you can always use Java classes from PHP. Depending on how
much SOAP is needed/used across your site, you could continue with PHP f
Thanks. That's what I'm doing, and it is working, but it doesn't seem like
it will be very robust, and I don't know if my roll your own will be
compliant with MS SOAP messages and Apache SOAP messages.
I'm reading the Soap:Envelope and Body XML via the $HTTP_RAW_DATA_POST
variable. It comes as a
Check out this page of SOAP implementations:
http://www.soapware.org/directory/4/implementations
It lists several for PHP, so those may give you a solution.
This is an interesting issue though, especially in light of you bringing up
Tomcat. I don't mean to start a big flame war over languages,
Lectori Salutem,
I have apache 1.3.20 running with php 4.0.6 on an freebsd 4.3 server. It is
a busy server, serving more than 400k PHP-pages daily.
I have a few troubles with it; first Apache is generating large errorlog
files filled with "httpd in free(): warning: recursive call." and "httpd in
When doing XML/XSL stuff that applies to just about any scripting language
as Java has always been the reference implementation for this. When
leaving the XML space the same is not true. But yes, we have a bit of
catching up to do when it comes to XML/XSL/XSLT.
-Rasmus
On Mon, 1 Oct 2001, Chri
is it possible to use fopen to open 5000 files differents simultaneous and
edit it simultaneous ?
I have one file. if four user edit it simultaneous what happen? there is
something to lock the file until one finish to edit?
I read at manual something like flock how can i use it?
--
PHP Gene
is it possible to use fopen to open 5000 files differents simultaneous and
edit it simultaneous ?
I have one file. if four user edit it simultaneous what happen? there is
something to lock the file until one finish to edit?
I read at manual something like flock how can i use it?
--
PHP Ge
Short answer. http://www.php.net/manual/en/function.flock.php
-Original Message-
From: Kmarada [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 02, 2001 11:53 AM
To: [EMAIL PROTECTED]
Subject: [PHP] fopen
is it possible to use fopen to open 5000 files differents simultaneous
and edit
Hello-
I am trying to find a way to scan a php script and list all of the functions
used in that script. Does anyone know if there is anything out there. (In
Perl or PHP) I know that Perl has the C::scan module to do this with C code,
but I have not seen anything for PHP. I am working on a secure
> I am trying to find a way to scan a php script and list all of the functions
> used in that script. Does anyone know if there is anything out there. (In
> Perl or PHP) I know that Perl has the C::scan module to do this with C code,
> but I have not seen anything for PHP. I am working on a secure
Sorry if this is a little off topic.
I was wondering if anyone knew of a simple yet effective CRM package
written in PHP and MySQL. If have seen a couple on hotscriptsw.com
but they are a little outside what I need.
All I need is a package that you can install on a webserver which
would allow v
Hi Ramsus,
Thanks for the reply. I am trying to implement PHP in a very secure
environment. My security department wants our developers to only be able to
use functions from an approved list. My plan was to scan any PHP files when
they get saved, get a list of the functions used and compare those
I've got a script on an NT (IIS 4.0) server that uploads a file. When
the user attempts to replace the uploaded file with a new one via the
form, the script is generating errors.
Warning: Unable to create
'D:/public/HJ/www.h-jenterprises.com/test/pics/catalog/104_2.gif':
Permission denied in
D:\p
> Thanks for the reply. I am trying to implement PHP in a very secure
> environment. My security department wants our developers to only be able to
> use functions from an approved list. My plan was to scan any PHP files when
> they get saved, get a list of the functions used and compare those to
Folks,
I am relatively new to PHP & MySQL. I took on a side project some months
ago which I now realize is over my head. The project is a real estate
catalog. I adapted the catalog system from Welling and Thomson's "PHP &
MySQL Web Development" from SAMS.
I really need to wrap this project up
Sounds like their upload script isn't setting the correct file permissions
when creating the file. Directory permissions don't seem to be a problem
for you.
-Joe2
> -Original Message-
> From: Joseph Koenig [mailto:[EMAIL PROTECTED]]
> Sent: Monday, October 01, 2001 12:38 PM
> To: [EMAIL
Hi all,
I have a problem with form submits.
I have an access control form that my users fill to enter to a private
web page, this access page saves 2 session variables and shows the
result page that it's an php page with several queries to several
tables. Well, when i submit my access control fo
Hi...
If I use the session_start or session_register I'll
never be able to open two sessions in the same
computer in the same time?
regards,
Augusto
___
Yahoo! GeoCities
Tenha seu lugar na Web. Construa
In article <584FAB68EB77D511BEF500508BB9191217695D@ATLEXC01>,
[EMAIL PROTECTED] (Howie Oakes) wrote:
> I am working on a secure
> implementation of PHP that will only allow certain functions to be used by
> end users. (But I still want to have full functionality for other scripts,
> so disable_
Change the session_name and you can.
On Mon, 1 Oct 2001, [iso-8859-1] Augusto Cesar Castoldi wrote:
> Hi...
>
> If I use the session_start or session_register I'll
> never be able to open two sessions in the same
> computer in the same time?
>
> regards,
>
> Augusto
>
>
>___
Hi...
If I use the session_start or session_register I'll
never be able to open two sessions in the same
computer in the same time?
regards,
Augusto
___
Yahoo! GeoCities
Tenha seu lugar na Web. Construa
Hi,
Got a big problem with PHP 4.0.6 and PDFLIB 4.0.1.
I got a script which is part of an application i wrote on a linux server
(2.4 kernel) under php 4.0.5, mysql and PDFLIB 3.0.3. This script work
very fine in this configuration.
Today, i need to port the intranet application that use this s
Hi,
Exactly what does the unread_bytes parameter of the return of
socket_get_status() mean? I thought it would be the amount of data waiting
to be gotten via fgets() or fread(), but not according to my lil' test
(interactive mode):
bool(false)
["blocked"]=>
bool(true)
["eof"]=>
bool(f
The script is moving the file to its final destination and then doing a
chmod(filename, 0777) (the php function, not through exec() or
anything); Even setting the mode to 0777 doesn't help at all. Am I doing
this completely wrong from IIS/NT? Thanks,
joe
Joe Kaiping wrote:
>
> Sounds like their
Hi Joe,
I'm not familiar with PHP on Windows myself, but I just checked out the
manual pages to see if it said anything and it sounds like chmod() doesn't
work on windows:
http://www.php.net/manual/en/function.chmod.php
"Note: This function does not work on Windows systems"
ditto for chgrp and
Hi,
Got a big problem with PHP 4.0.6 and PDFLIB 4.0.1.
I got a script which is part of an application i wrote on a linux server
(2.4 kernel) under php 4.0.5, mysql and PDFLIB 3.0.3. This script work
very fine in this configuration.
Today, i need to port the intranet application that use this s
I'm having a REALLY hard time with something that's probably easy to do (for
someone :-)...
Normally, to perform an update on a table with data from a submitted form, I
would use something like:
$sql = "UPDATE $table SET pet='$pet', name='$name' WHERE id=$id";
$result = mysql_query($sql);
A
| But here's what I want to do now: I want to use the same two
| lines of code for any possible form data that might be submitted
mysql_list_fields retrieves all field names of $table;
with that you can build your SET-clause for the query.
something like:
$fields = mysql_list_fields($d
Something like this might work for you. (Just typed in the code and didn't
test it, so take with a grain of salt. It doesn't really take into account
all types of data, but maybe it will help with an idea.)
Have groups of the following in your form:
column_name1
column_name2
Hello,
Could anyone tell me how to eregi a word, to see if it only contains either
numbers, letters, the "_" and the "-", so that any other symbol with call it
invalid. For example, theres the word "expressio_n" that will be valid, but
the word "express%^$-n" will be invalid.
Thankyou,
Tim
-
See php.net/strcspn
On Mon, 1 Oct 2001, Tim Ballantine wrote:
> Hello,
>
> Could anyone tell me how to eregi a word, to see if it only contains either
> numbers, letters, the "_" and the "-", so that any other symbol with call it
> invalid. For example, theres the word "expressio_n" that will be
Is there anything which doesnt use length? And something like eregi, because
it would be infeasible to list all of the symbols that a user could use, to
compare a string by.
Tim
"Rasmus Lerdorf" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> See php.net/strcs
I used a pretty basic system to check HTTP authentication values against
database values, but I can't seem to find a way to allow the user to log
out. I tried:
unset($PHP_AUTH_USER)
but Internet Explorer hangs on to that value until all browser windows are
closed. Is there any way around that?
Hi all,
I have a problem with form submits.
I have an access control form that my users fill to enter to a private
web page, this access page saves 2 session variables and shows the
result page that it's an php page with several queries to several
tables. Well, when i submit my access control f
Huh? You better read that documentation page again. You only need to
list the illegal symbols. And what do you mean by length?
-Rasmus
On Mon, 1 Oct 2001, Tim Ballantine wrote:
> Is there anything which doesnt use length? And something like eregi, because
> it would be infeasible to list all
$PHP_AUTH_USER is filled in based on the value coming from the browser.
unsetting it in PHP makes no sense as the browser is simply going to set
it again on the next request. There is no way to clear this from the
client-side short of changing the realm or denying the authentication with
a 403.
"Returns the length of the initial segment of str1 which does not contain
any of the characters in str2."
I realise that i could see if this matches with the length of the entire
word, and is there a way to get it to compare the word by the legal
characters, because the amount of illegal symbols,
Well, either you need to know the valid chars or the invalid ones. Make
up your mind and use strspn() or strcspn() appropriately.
-Rasmus
On Mon, 1 Oct 2001, Tim Ballantine wrote:
> "Returns the length of the initial segment of str1 which does not contain
> any of the characters in str2."
>
>
Hi all, please help me with this problem i'm desperate...
I have a problem with form submits.
I have an access control form that my users fill to enter to a private
web page, this access page saves 2 session variables and shows the
result page that it's an php page with several queries to s
php is serverside, PHP_AUTH_USER is set by the client, therfore when you
unset() the serverside instance of PHP_AUTH_USER the client doesnt know
about this and keeps sending the username/pass. the only way I know of is to
re-send the http auth headers and change the domain. this works for me.
Thankyou...
I should have made it clearer that I did want to use only the legal
characters to compare the string by.
Tim
"Rasmus Lerdorf" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Well, either you need to know the valid chars or the invalid ones. Make
| The result: PHP updates the values of lang, record, date, what (etc.) to
| [LITERALLY] $lang, $record, $date, etc--NOT the values of those fields
| submitted by the form. I'm kinda lost as to what to do... Any
| suggestions??
Ow yea, little mistake of mine, sorry.
I think removing the single
Nope, still no go. Removing the single quotes stops PHP from updating the
fields with $set's literal "$fieldname", but still doesn't update the record
with the value (or anything).
===
CODE
===
if ($submit) {
// if there is an ID, then it's an update
if ($id) {
Hello folks,
Today, I found a very powerful editor, called TextPad. I said it is
'powerful'
because it can recognize syntax of php, html, java, css and also many
many more great featuresmuch better that Windows Notepad. You can
download and try. You need to take a few minutes to explore i
Hi,
I am using php4 (great) under win32 apache (not so great) ...
I am trying to regsiter two session variables. When the page is
first displayed, the variables are registered thus:
session_register("Sheet");
$HTTP_SESSION_VARS["Sheet"]=serialize($Sheet);
I had the same problem... chmod doesn't work in Windows...
I'm using win2000 server... to make uploads possible you have to set
permissions to the users: IUSR_COMPUTERNAME and IWAM_COMPUTERNAME, set them
both to FULL and test...
At 15:54 1/10/2001 -0500, Joseph Koenig wrote:
>The script is mov
are you sure you have session_start() on all three pages and you have
enabled 'track_vars'???
cuz if you don't you'll have to manually pass the session id trought the
form...
At 07:50 1/10/2001 +, Jean-Christian Imbeault wrote:
>Ok, newbie I am but ... I seem to be losing my session vars wh
Hi, apparently the Namo Web Editor has a PHP generator together with a MySQL
interface. Is this truly an alternative to products such as PhpEd? Has anyone used it
for production applications? Any other useful comments?
Petras
hi all,
i'm using a php4.0.6 with apache on win2k. when i register a session and immediately
if i redirect to another
page the session seems not to be registered. eg.
when i go to the new page i c that the session has not been reigstered.
but in case if i dont redirect from php rather use a h
All I want to do is what an ASP page I have is doing.
I just want to host multiple sites with one page like the one in the article
below until I can get my head around the real way of doing it.
http://www.zdnet.com/devhead/stories/articles/0,4413,2418330,00.html
Surely there is a PHP equivalent
Nope.
Still doesn't work.
I still have to do a refresh on the page manually...
Any other ideas?
Thanks,
Brad
-Original Message-
From: Wayne K [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, 2 October 2001 11:38 AM
To: Bradley Goldsmith
Subject: Re: Sessions, sessions, sessions...
registe
HELLO,
I am finished working with the html and css levels and want to take my
design to the next level. I realize that JS is getting outdated and many new
technologies have started popping up. I do want a database driven site. I am
running Windows and have both the 98 and 2000 versions. There's o
Perhaps check the URL and direct as such using header();. Use phpinfo(); to
find what var holds the current URL.
- k
- Original Message -
From: "Ratfish" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, October 01, 2001 10:25 PM
Subject: [PHP] Simple Question, I think
> All
Simple to do it in php, but i would think its better done in apache using
virtual host configuration.
do a google search for virtual host apache
-Original Message-
From: Ratfish [mailto:[EMAIL PROTECTED]]
Sent: October 2, 2001 10:25 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Simple Quest
Can someone explain this to me? I am not very confused after reading this
post ...
>are you sure you have session_start() on all three pages and you have
>enabled 'track_vars'???
I have done no such thing. The PHP book I have doesn't mention any of this.
It simply says that using session_star
Still not working ...
Here is some output that shows the session is being registered and the ID is
the same between pages ... but the var $user gets lost.
LOGIN PAGE
---
userid h:
session_name(): PHPSESSID
Session ID: f227e539d7b9b8db2c2a2b63dc79c6e2
Session name: PHPSESSID
after succe
Hi,
Well I'm not totally sure, why socket_get_status would
not give you the correct value, other than a bug, as
the manual does indicate the socket functions are
experimental.
There are altenative ways to get the number of bytes
in the buffer, like using ioctl with FIONREAD,
ofcourse that is a C
Hi, does anyone here know how to correctly configure php.ini to be able to
use browscap.ini in linux so that I can get the get_browser() function to
work properly, I need it because I'm building a statlog from scratch for my
web site.
Any help will be apreciated.
Iván
P.S. Sorry about my spelli
Where does one find this "Namo Web Editor"?
===
Justin
Network Engineer/Systems Analyst
Interlink Companies
On Tue, 2 Oct 2001, Petras Virzintas wrote:
> Date: Tue, 2 Oct 2001 11:35:51 +1000
> From: Petras Virzintas <[EMAIL PROTECTED]>
> To: PHP General List <[EMAIL PROTECTED]>
> Subject: [
Thanks guys, that's just what I wanted to hear.and so quick too!
> From: [EMAIL PROTECTED] (Lawrence Sheed)
> Newsgroups: php.general
> Date: Mon, 1 Oct 2001 22:40:29 -0400
> To: [EMAIL PROTECTED], [EMAIL PROTECTED]
> Subject: RE: [PHP] Simple Question, I think
>
> Simple to do it in php, bu
I would like to begin coding a online website creation tool for clients of
my small web design firm, and I'd like to use MySQL for the backend. I only
have one question - is MySQL fast enough and robust enough to handle large
amounts of data? For example entire pages of text, etc.
Thanks for any
sure
On Tue, 2 Oct 2001, Devin Pittman wrote:
> I would like to begin coding a online website creation tool for clients of
> my small web design firm, and I'd like to use MySQL for the backend. I only
> have one question - is MySQL fast enough and robust enough to handle large
> amounts of data?
by searching google, perhaps
Maxim Maletsky
www.PHPBeginner.com
-Original Message-
From: Justin Rodino [mailto:[EMAIL PROTECTED]]
Sent: martedi 2 ottobre 2001 5.30
To: Petras Virzintas
Cc: PHP General List
Subject: Re: [PHP] Namo Web Editor
Where does one find this "Namo Web Editor"
This is kindof a weird question so bear with me as I try to explain.
I have a session table that gets updated when a user logs in/out. If they
don't logout, some info is left unchanged. I have a cron script that takes
care of the stray sessions so that's all good. In the sessions table,
there's a
i realize a solution using strspn/strcspn was offered, but you asked for
eregi :)
anyway, i use ereg, but i think this should work
eregi("^[a-z0-9_\-]+$",$string)
notice that i had to escape the dash with a backslash
the plus sign forces atleast one character. you can use {x,y} in place of
the
1 - 100 of 117 matches
Mail list logo