>From Coding Standard
===
Syntax and indentation
--
*SNIP*
PHP is written in C, and is aimed at compiling
under any ANSI-C compliant compiler.
===
You are better to ask in php-dev list, if use of C++ is acceptable or
not.
If you are not interested in making your extension av
Hello all
I have just implemented a mySQL authorization: each html and php page checks
to see whether a user is logged in by checking a cookie in the user browser.
The user can log out and edit her profile (including password). If a page is
called without the user being logged in, he is presen
Fait cela toi même.
"Said El Maataoui" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
merci
_
Le journal des abonnés Caramail - http://www.carazine.com
--
PHP General Mailing List (http://www.php.net/
If you don't have a very high load, then you could move all not-php-files
out of htdocs-root and use a pseudo-root directory htdocs/../rawfiles as root
for redirect.php.
For example image.jpg is placed in htdocs/../rawfiles/images then access it
with /redirect.php?/images/image.jpg !
redirect.php
how can i find out what kind of error i am recieving when i call a command thru
system()?
On Tue, 7 Aug 2001 17:55, Jon Yaggie wrote:
> how can i find out what kind of error i am recieving when i call a
> command thru system()?
Well, reading the docs it looks like system only returns an error code -
if you want to get all that is returned from the command you might want
to try exec
Thanks for that. I ended up using your method as using the LEFT function in a
SELECT only grabs characters.
Cheers,
Jord
On Monday 06 August 2001 17:37, you wrote:
> You can do this several ways... Either use explode():
> http://www.php.net/manual/en/function.explode.php
>
> ...to split the re
On Mon, Aug 06, 2001 at 12:31:38PM -0700, Mark Maggelet wrote:
> i can't tell if it's just a email formatting thing, but if there's a
> line break in the onsubmit string it might mess things up.
It no _might_ mess things up... It sure does! Good one.
But... another thing. You just might want to
Hi
I'd thought of specifying the limit in the request but unfortunately that
option isn't available to me :(
I've just downloaded an xpath class from phpxml.org, looks really kewl, and
i hope it can allow me to do this.
Thanks
Girish
- Original Message -
From: "Gerry Kirk" <[EMAIL
What could be wrong when I don't get any results from an array made from
whitin a function?
function test_print($item,
y){
if (ereg("[0-9]", $item)) {
$numa[$i] = $item;
echo $GLOBALS["i"] . " - $numa[$i]\n";
$GLOBALS["i"]++;
}
Printing from within this function works fine, but when I w
Or you could tell your webserver to deny everything except access to
redirect.php, this saves you from moving everything to some obscure place...
> -Original Message-
> From: Michael Mehlmann [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, August 07, 2001 10:18 AM
> To: Stefen Lars
> Cc: [EMA
Hello,
My problem is how to find simple way to change REAL number
from MySQL to currency type with PHP.
Exmaple:
MySQL: 12323434,34
I need to parse it as: 12.323.434,34
tnx,
mitja.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional comma
On Tue, Aug 07, 2001 at 11:30:18AM +0200, Mitja Simèiè wrote:
> Hello,
>
> My problem is how to find simple way to change REAL number
> from MySQL to currency type with PHP.
>
> Exmaple:
> MySQL: 12323434,34
> I need to parse it as: 12.323.434,34
>
> tnx,
> mitja.
One simple function number_f
Hopefully the last hill to climb in our first Solaris installation -
Apache cannot load a module:
bash-2.03# /usr/apache/bin/apachectl start
Syntax error on line 244 of /etc/apache/httpd.conf:
Cannot load /web/libexec/libphp4.so into server: ld.so.1:
/usr/apache/bin/httpd: fatal: /web/libexec/li
hi there
-
if ($act = "add") //Add the message...
{
if (!empty($user_name) && !empty($user_ip) && !empty($user_message) &&
!empty($user_sex)) {
if (!($html_support))
{
$user_message = htmlspecialchars("$user_message");
}
$user_mess
Try using stripslashes() before htmlspecialchars().
--
* R&zE:
--
-- Renze Munnik
-- DataLink BV
--
-- E: [EMAIL PROTECTED]
-- W: +31 23 5326162
-- F: +31 23 5322144
-- M: +31 6 21811143
-- H: +31 23 5516190
--
-- Stationsplein 82
-- 2011 LM HAARLEM
--
-- http://www.
Hi
I've used ImageMagick to resize images from 1152*768 pixels down to 640*480
pixels. It runs very quickly, you can also try it from the command line to
see what you think of the performance. Also, it comes with some support
programs that allow filters such as gamma correction etc. It seems to
a
hi,
I am having trouble with some data i am retrieving from a mysql
database.
after a query i am using mysql_fetch_array in a while loop to retrieve
data. ie;-
$row = mysql_fetch_array($result);
once i have a $row i am getting relevant data i want using;-
$data = $myrow["field_name"];
where
Hi,
This is a real strange one. I am writing a shell script in PHP which I am
cronning to run every 5 mins. Basically it downloads email via imap. Splits
it up into it relevant sections and adds it to a database. It does multiple
inserts, and update and multiple selects. The problem I have is tha
Hi,
I have been given a (notepad generated) text file which contains a list of
countries in a format such as:
United Kingdom,
United States,
Blah,
Blah,
Blah,
I have imported the data into a countries table in a mySQL database using
the excellent 'mysqlfront' prog. No probs on the import itsel
Hi,
I am trying to get the ip address of any user browsing a particular page.
I tried $REMOTE_ADDR but that give me only the remote address. What would
be the best way?
Adrian
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands
http://www.php.net/manual/en/function.chop.php
Returns the argument string without trailing whitespace, including newlines
Wagner Tomy
Web Developer
Editus S.A.
- Original Message -
From: "Karl Phillipson" <[EMAIL PROTECTED]>
To: "'Alexander Wagner'" <[EMAIL PROTECTED]>; "MindHunter"
<[E
try this:
if (!($html_support))
{
$user_message = htmlspecialchars(stripslashes($user_message));
}
Wagner Tomy
Web Developer
Editus S.A.
- Original Message -
From: "Nick K." <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, August 07, 2001 12:11 PM
Subject: [PHP
Yup, thanks Wagner.
I can do this within PHP itself using trim or chop, I was hoping for a
snippet of SQL code that would do it from the command line.
This is what have done:
LOAD DATA LOCAL INFILE 'C:\MYDIR\countries.txt' INTO TABLE DBNAME.COUNTRY
LINES TERMINATED BY ',' (COUNTRY_NAME)
=
ah k,
yes that's the way to do it in SQL ;p
Tomy Wagner
Web Developer
Editus S.A.
- Original Message -
From: "Karl Phillipson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, August 07, 2001 1:08 PM
Subject: RE: [PHP] text imports
> Yup, thanks Wagner.
>
> I can do this wit
So if this is the way to do it in SQL, is there a way to get rid of the pipe
linefeeds using SQL too?
If not I s'pose the solution is to run a php 'trim' script, grab the data,
perform the modifications and then re-insert the data back into the
table
Bit long winded but if that's the only wa
RE: [PHP] text importstry this:
LOAD DATA LOCAL INFILE 'C:\MYDIR\countries.txt' INTO TABLE DBNAME.COUNTRY
LINES TERMINATED BY ',\n' (COUNTRY_NAME)
or if it does not work, simply drop the commas and use the newline character as
separator ?
Tomy Wagner
Web Developer
Editus S.A.
- Origina
Hi!
how i can enable session?
i have installed PHP4 and IIS 5.0 on W2K Server.
PHP scripts work correctly, but when i use session_start()
the same script don't work!
I must set same key in php.ini for enabling sessions?
or ..?
thanks!
efrem
PS: sorry for my poor english!
--
PHP General Mailin
On Tue, Aug 07, 2001 at 03:55:25PM +0530, Adrian D'Costa wrote:
> Hi,
>
> I am trying to get the ip address of any user browsing a particular page.
>
> I tried $REMOTE_ADDR but that give me only the remote address. What would
> be the best way?
>
> Adrian
Okay... Help me out here...
You want
Read this:
http://www.php.net/manual/en/function.getenv.php
$ip = getenv ("REMOTE_ADDR");
==
Karl Phillipson
PHP SQL Programmer
Saffron Hill Ventures
67 Clerkenwell Road
London
EC1R 5BL
Saffron Hill: 0207 693 8300
Direct Line: 0207 693 8318
-Original
The problem is that REMOTE_ADDR returns the IP address of the proxy (if
the user
accesses the web-page via a proxy. This will allways return the IP
address of
the user's machine:
if(getenv(HTTP_X_FORWARDED_FOR))
{
$ip=getenv(HTTP_X_FORWARDED_FOR);
}
else
{
$ip=getenv(REMOTE_ADDR);
}
$host = g
hello !
Please help me.
How do I split array so, that I'll get string variable with "," delimeter of
each array value ?
Thank you!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the li
On Tue, Aug 07, 2001 at 02:01:04PM +0200, René Moonen wrote:
> The problem is that REMOTE_ADDR returns the IP address of the
> proxy (if the user
> accesses the web-page via a proxy. This will allways return the IP
> address of
> the user's machine:
>
> if(getenv(HTTP_X_FORWARDED_FOR))
> {
> $ip
Hi,
I am running PHP 4.06 on Windows 2000 with IIS 5. I am running PHP in CGI mode.
I seem to be getting "CGI Error
The specified CGI application misbehaved by not returning a complete set of HTTP
headers. The headers it did return are:
"
Why is this error happening ? Please dont ask me to s
See:
http://www.php.net/implode
- Tim
http://www.phptemplates.org
On 07 Aug 2001 14:02:04 +0200, Veniamin Goldin wrote:
> How do I split array so, that I'll get string variable with "," delimeter of
> each array value ?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-m
you could use implode
http://www.php.net/manual/en/function.implode.php
==
Karl Phillipson
PHP SQL Programmer
Saffron Hill Ventures
67 Clerkenwell Road
London
EC1R 5BL
Saffron Hill: 0207 693 8300
Direct Line: 0207 693 8318
-Original Message-
From: Veniamin
Hello Adrian,
Tuesday, August 07, 2001, 12:25:25 PM, you wrote:
ADC> Hi,
ADC> I am trying to get the ip address of any user browsing a particular page.
ADC> I tried $REMOTE_ADDR but that give me only the remote address. What would
ADC> be the best way?
When you recieve a remote_host_name you
Sorry for the dummies question, but how do I insert into string like:
echo "balalala"
how to insert function in the midle like :
echo "balalala [trim(odbc_result($result_id,3))] aasasasas"
Thank you.
> - Original Message -
> From: "René Moonen" <[EMAIL PROTECTED]>
> To: <[EMAIL PROT
Generally I would expect one of two possibilities in this scenario..
either
a) you are passing thru the url (limited I believe to about 255
characters)...if so use a form with METHOD=post
or
b) you are storing in a DB and the size of the field in the db is too small
(in general most rdbms' will ju
Try readin the manual before posting.. all you want is the string
concatenation operator .
PHP is weakly typed so no direct conversion is needed
echo "balalala " . trim(odbc_result($result_id,3)) . " aasasasas"
> Sorry for the dummies question, but how do I insert into string like:
>
> echo "ba
On Tue, Aug 07, 2001 at 02:30:31PM +0200, Veniamin Goldin wrote:
> Sorry for the dummies question, but how do I insert into string like:
>
> echo "balalala"
>
> how to insert function in the midle like :
> echo "balalala [trim(odbc_result($result_id,3))] aasasasas"
>
>
> Thank you.
>
How
I'm looking to give each of my virtual domain accounts a calendar, msg
board, and maybe a chat function to their web site.
Anyone know of a php program that has messaging and calendaring working
together?
Thanks!
-eric wood
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-
Yes!
Try:
"Zippy" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> hi,
>
> I am having trouble with some data i am retrieving from a mysql
> database.
>
> after a query i am using mysql_fetch_array in a while loop to retrieve
> data. ie;-
>
> $row = mysql_fetc
Hello.
I have two MySql databases running on different servers. I have no root
access and only PHP + Mysql and MysqlAdmin.
How can i take a dump of first database (which is about 1MB) and restore
that dump on the second one?
Actually, I'm doing a structure dump, but the outputed SQL text is ver
vBulletin is PHP/MySQL backed forum software that includes an
integrated calendar component.
However, it'll cost you $85/site/year, so you might be best off tying a few
free components together.
/* Chris Lambert, CTO - [EMAIL PROTECTED]
WhiteCrown Networks - More Than White Hats
Web Application
>How can i take a dump of first database (which is about 1MB) and restore
>that dump on the second one?
If you have Telnet access use the mysqldump and mysql clients to export then
import.
Regards
Jon
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED
This might be of some use?
http://www.mysql.com/doc/m/y/mysqlhotcopy.html
==
Karl Phillipson
PHP SQL Programmer
Saffron Hill Ventures
67 Clerkenwell Road
London
EC1R 5BL
Saffron Hill: 0207 693 8300
Direct Line: 0207 693 8318
-Original Message-
From: el
On Mon, 6 Aug 2001 17:44:29 -0500
"Diego Fulgueira Pastor" <[EMAIL PROTECTED]> wrote:
> Hi! I have the following problem:
>
> I am using IIS 5.0 on Win2k, and I am unable to create COM objects. For
> example, the following code will produce the script to halt:
>
> $myObject= new COM("CDONTS.N
I tried this, I still have the same problem. Is this a bug in the version
of PHP I am running?
Chad
-Original Message-
From: mike cullerton [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 06, 2001 4:58 PM
To: Chad Day; [EMAIL PROTECTED]
Subject: Re: [PHP] Session problem
i would try
Hi,
You can tell it using the variables from the server. Using Apache you
can access the variables specs at:
http://www.apache-ssl.org/docs.html
With Apache SSL is SSL_CIPHER returns the variable about SSL/TLS
ciphersuite.
Sean C. McCarthy
SCI, SL (www.sci-spain.com)
"Dr. Evi
> -Original Message-
> From: Stefen Lars [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, August 07, 2001 3:03 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Insecurity with PHP authorization
>
>
> I do realize that if I were to place a .htaccess file in the
> root of the intranet server, I cou
What is the php code to get a visitor's IP address?
Thanks,
Joseph
--
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]
Hello elias,
Tuesday, August 07, 2001, 3:52:57 PM, you wrote:
e> Hello.
e> I have two MySql databases running on different servers. I have no root
e> access and only PHP + Mysql and MysqlAdmin.
e> How can i take a dump of first database (which is about 1MB) and restore
e> that dump on the seco
No I don't really have Telnet accessI have only access to phpMyAdmin
2.0.1 via my Hosting Control Panel...
And it happens that both servers have this tool to access the database.
How can I copy from a server to another?
Please Help!
"Jon Farmer" <[EMAIL PROTECTED]> wrote in message
[EMAIL
On Tue, Aug 07, 2001 at 08:11:52AM -0500, Joseph Bannon wrote:
> What is the php code to get a visitor's IP address?
>
> Thanks,
> Joseph
You might want to consider reading some of the other posts for a
change. There's an interesting thread on this list today. It's about
the exact same question
Just because you're having a bad day doesn't mean I should. Can you just
tell me what it is? I don't have those posts.
J
-Original Message-
On Tue, Aug 07, 2001 at 08:11:52AM -0500, Joseph Bannon wrote:
> What is the php code to get a visitor's IP address?
>
> Thanks,
> Joseph
You mi
Just a very big guess.
Can you use system or exec command to run one of those telnet commands from
a PHP script?
Or even better idea, can you ask your hosts to do it for you :)
Andrew
- Original Message -
From: "elias" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, August 07
On Tue, Aug 07, 2001 at 08:29:34AM -0500, Joseph Bannon wrote:
> Just because you're having a bad day doesn't mean I should. Can you just
> tell me what it is? I don't have those posts.
>
> J
Wow... I believe you're the one having the bad day.
Anyway, here's the result of the thread... It's the c
Hi,
My apache log files contains the following log info sending from my
desktop to my server which hosted at remote data center, I am wondering, am
I being hacked ?? Is there something wrong in my apache server ??
203.218.49.24 - - [07/Aug/2001:22:04:52 +0800] "-" 408 - - "-" "-"
203.218.
>
> =[ Get remote IP ]=
>
> if(getenv(HTTP_X_FORWARDED_FOR))
> {
> $ip=getenv(HTTP_X_FORWARDED_FOR);
> }
> else
> {
> $ip=getenv(REMOTE_ADDR);
> }
> $host = gethostbyaddr($ip);
>
> ===
>
Oh... btw... I just gave a real look at that piece of code. You
might
help me please !
I try to use include() and require() an that what i get:
The path is 100% good.
Warning: Failed opening '../inc/menu.inc' for inclusion (include_path='') in
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-m
> I try to use include() and require() an that what i get:
> The path is 100% good.
>
> Warning: Failed opening '../inc/menu.inc' for inclusion
> (include_path='') in
Make sure that file permissions allow 'nobody' to view the file.
--
PHP General Mailing List (http://www.php.net/)
To unsubscr
It's LINUX and I don't own the server I lease it from affordablehost.com
Thanks,
Marcus
Justin French wrote:
> What platform is the server? Unix? Win98?
> It shouldn't be putting line breaks in.
>
> Do you have access to MySQL? If so, that may be a solution.
>
> Justin French
>
> Marcus Jame
Hi Mark,
408 is an HTTP status code meaning Request Timeout. The excerpt from the
RFC2616 is:
408 Request Timeout
The client did not produce a request within the time that the server was
prepared to wait. The client MAY repeat the request without
modifications at
any later time.
Do you have lo
"Marius Andreiana" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi
>
> I try to keep some common xsl templates in separate files and
> use
>
> It works fine if I process them from cmd line with sabcmd,
> but the same files don't work in php, I get
> Fatal e
Mike,
I running the scrip from the browser
(http://localhost/cgi-bin/test.html) When I comment
the first line in the script (#-#!c:\php\php.exe)
I get the following error message:
Tue Aug 07 09:56:13 2001] [error] [client 127.0.0.1]
c:/program files/apache group/apache/cgi-bin/test.php
is n
>Just because you're having a bad day doesn't mean I should. Can you just
>tell me what it is? I don't have those posts.
You don't need those posts to check the archive.
You should find a link on the page where you subscribed.
Checking the archive before you post would help to get less traffic
indeed it's not working properly,
first of all please make sur the pages are not cashed send a header
(Cache-control: NO cache) i'm not sure about the syntax so check the manual
then try to modify your code like this and tell us what happens:
might seem a little overloaded but it's to make sur
oh i forgot!!!
you have to put this at the beginning of your page
indeed it's not working properly,
first of all please make sur the pages are not cashed send a header
(Cache-control: NO cache) i'm not sure about the syntax so check the manual
then try to modify your code like this and tell us
check your status code at
http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.9
on a side note, your post was in the wrong newsgroup, try a orum related to
http not php.
--
Chris Lee
[EMAIL PROTECTED]
"Mark Lo" <[EMAIL PROTECTED]> wrote in message
000901c11f4a$f3e0$7c7ba8c
easy, go inside each table, there will be the structure dump function
available. that will allow you to take the data for that table only. this
may give you a smaller size of data.
--
Hidulf
http://www.hidulf.com
"Elias" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTE
When using if (!$submit) I get an error saying:
Warning: Undefined variable: submit in C:\Inetpub\webpub\default.php on line
1
Fair enough, so then I add if (isset(!$submit)) and I then get an error;
Parse error: parse error, expecting `T_VARIABLE' or `'$''
Could someone please tell me the more
Done, still not working. I know that usually has to be there, I was just
going to copy the example from the manual directly, since the session should
automatically kickoff when it hits the session_register bit. This truly has
me baffled.
Chad
-Original Message-
From: hassan el forkani
> Fair enough, so then I add if (isset(!$submit)) and I then get an error;
try
if(!isset($submit))
instead
Tomy Wagner
Web Developer
Editus S.A.
- Original Message -
From: "Tarrant Costelloe" <[EMAIL PROTECTED]>
To: <[EMAIL P
try.
if(isset($submit))
{
}
chris
- Original Message -
From: Tarrant Costelloe <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, August 07, 2001 10:47 AM
Subject: [PHP] if(!$submit)
> When using if (!$submit) I get an error saying:
> Warning: Undefined variable: submit in C
On Tue, Aug 07, 2001 at 03:47:19PM +0100, Tarrant Costelloe wrote:
> When using if (!$submit) I get an error saying:
> Warning: Undefined variable: submit in C:\Inetpub\webpub\default.php on line
> 1
> Fair enough, so then I add if (isset(!$submit)) and I then get an error;
> Parse error: parse e
> When using if (!$submit) I get an error saying:
> Warning: Undefined variable: submit in C:\Inetpub\webpub\default.php on
line
> 1
> Fair enough, so then I add if (isset(!$submit)) and I then get an error;
> Parse error: parse error, expecting `T_VARIABLE' or `'$''
> Could someone please tell m
When doing the following if statement:
if ($name == "neo")
How can you specify that it doesn't matter whether the first letter of "Neo"
is in captials or not.
Thanks!
Taz
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mai
on 8/7/01 2:43 AM, Renze Munnik at [EMAIL PROTECTED] wrote:
> On Mon, Aug 06, 2001 at 12:31:38PM -0700, Mark Maggelet wrote:
>> i can't tell if it's just a email formatting thing, but if there's a
>> line break in the onsubmit string it might mess things up.
>
> It no _might_ mess things up... I
Hi,
I have run accross this problem too, and I solve it
this way:
if(strtolower($name1) == strtolower($name2))
I compare both variables in lower case, this way
capitals don't matter at all.
Greetz,
Bjorn Van Simaeys
www.bvsenterprises.com
--- Tarrant Costelloe <[EMAIL PROTECTED]> wrote:
> W
try this:
If( strcmp($voorraad[1],'on') == 0 )
// it's checked
else
// it's not
Good luck,
Ben
-Original Message-
From: Tijmen Hennink [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 06, 2001 1:34 AM
To: [EMAIL PROTECTED]
Subject: [PHP] array + checkbox
Hi All,
I've t
Ok thanks,
I found jons way the easiest:
if ($name == "neo" || $name == "Neo")
-Original Message-
From: Bjorn Van Simaeys [mailto:[EMAIL PROTECTED]]
Sent: 07 August 2001 16:24
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Upper or Lower Case
Hi,
I have run accross this problem too, and I
if (!isset($submit))
:)
on 8/7/01 8:47 AM, Tarrant Costelloe at [EMAIL PROTECTED] wrote:
> When using if (!$submit) I get an error saying:
> Warning: Undefined variable: submit in C:\Inetpub\webpub\default.php on line
> 1
> Fair enough, so then I add if (isset(!$submit)) and I then get an erro
On Tue, Aug 07, 2001 at 09:23:02AM -0600, mike cullerton wrote:
> on 8/7/01 2:43 AM, Renze Munnik at [EMAIL PROTECTED] wrote:
>
> > On Mon, Aug 06, 2001 at 12:31:38PM -0700, Mark Maggelet wrote:
> >> i can't tell if it's just a email formatting thing, but if there's a
> >> line break in the onsub
At 09:29 AM 8/7/2001, Joseph Bannon wrote:
This is the problem with todays "web programmers" and with PHP.
One - With the explosion in the ease of HTML and related technologies
EVERYBODY is a designer/programmerlets face itsome have it some
don't. If you think that blinking text is
On 07 Aug 2001 15:30:44 +0100, Peter Clarke wrote:
> Have you tried Sablotron 0.60?
yes, the same.
How could I see at least what the problem is? (meaningful error message)
--
Marius Andreiana
--
You don't have to go to jail for helping your neighbour
http://www.gnu.org/philosophy/
--
PHP Ge
- Original Message -
From: hassan el forkani <[EMAIL PROTECTED]>
Sent: Tuesday, August 07, 2001 07:32
> greetings;
>
> i'm not sure if this is a mysql or php issue so i'm posting to both lists,
>
> i'm developping a community web site with news, forums..;
> while working on the admin s
this code works on my machines:
test it, i think the problem was about starting $count at zero;
if it still ait working for you then check your php.ini settings
regards
At 16:50 07/08/01, Chad Day wrote:
>Done, still not working. I know that usually has to be there, I was just
>going to copy
Hi,
I'm trying to write a port scanner similar to
http://scan.sygatetech.com to expose security holes in a PC or server.
However, I can't figure out how to perform an ICMP ping. Does anyone
know how?
Regards,
- James
Editor, VB Web
==
Web - http://www.vbweb.co.uk
Email
Hi Taz,
What happens if they type "NeO", or "NEO", or "nEo", or "neO" (etc)? ;)
Also, if you're using this in a large application (or intend to in the
future), are you going to type out all of the names as you have done with
the neo example?
Bjorn's method is much better, and you're better off ge
exec("ping 127.0.0.1");
--
+-+
|Tyler Longren|
| Captain Jack Communications |
|[EMAIL PROTECTED]|
| www.captainjack.com |
+-+
On Tue, 7 Aug 2001 17:11:36 +0100
"James Crowley" <[EMAIL PROTECTED]> wrote:
>What happens if they type "NeO", or "NEO", or "nEo", or "neO" (etc)? ;)
>Also, if you're using this in a large application (or intend to in the
>future), are you going to type out all of the names as you have done with
>the neo example?
>Bjorn's method is much better, and you're better off gettin
look for icmp at
http://phpclasses.upperdesigns.com i beilive there is a class that does
just that
regards
At 18:11 07/08/01, you wrote:
>Hi,
> I'm trying to write a port scanner similar to
>http://scan.sygatetech.com to expose security holes in a PC or server.
>However, I can't figure
ok, I'm confused, any help would be greatly appreciated.
Using PHP4 with Apache (version?).
My problem is that I'm getting emalloc errors. Not the massive ones like those
related to the database bugs, it's anywhere from 1 byte to 43 bytes. In my debug
attempt I've been watching apache processe
Hi All,
You meant: http://www.PHPClasses.UpperDesign.com/
didn't you?
Sean C. McCarthy
SCI, SL (www.sci-spain.com)
hassan el forkani wrote:
>
> look for icmp at
> http://phpclasses.upperdesigns.com i beilive there is a class that does
> just that
>
> regards
>
> At 18:11
Hi,
I'm looking at the 'String' section of the online documentation. I cannot
find a function that converts a numeric to a string, e.g., 1 --> "1".
Am I blind or does this not exist?
Thanks,
Don
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Don wrote:
> Hi,
>
> I'm looking at the 'String' section of the online documentation. I
> cannot find a function that converts a numeric to a string, e.g., 1
> --> "1".
>
> Am I blind or does this not exist?
With loose typing, this is not really necessary.
If I'm wrong here, you might use setty
check out settype() however read the doc on types you
may not need settype at all
rm
--- Don <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm looking at the 'String' section of the online
> documentation. I cannot
> find a function that converts a numeric to a string,
> e.g., 1 --> "1".
>
> Am I bli
I use ODBC on a Win2K system to connect to a MS-SQL database. I use a stored
procedure in the database to add a record to a table. The stored procedure
returns a result code that is either the records ID or a -1 indication that
the record was not added. How do I check the return result in PHP usin
hey,
this function does not exists.
An interger can be treated as string without any problems,
see also:
http://www.php.net/manual/en/language.types.string.php#language.types.string
.conversion
Kees
> -Original Message-
> From: Don [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, August 07,
1 - 100 of 193 matches
Mail list logo