this is the second time , i am getting an auto reply from this guy , how do
i stop it ?, i am asking a question !
-Original Message-
From: Boaz Yahav [mailto:[EMAIL PROTECTED]
Sent: Monday, March 17, 2003 6:54 PM
To: daniel
Subject: RE: muliple form array values
This looks like a great
that will work too... but you wont get a response back if the unlink fails
(other thn a nasty php error). you will with charles method.
plus sometimes things that arent a file will pass true on the file_exists()
function.
i mean you can do all the checks like
if (file_exists($dest_file)
This might be helpful as well.
http://www.databaseanswers.com/data_models/hotels/index.htm
olinux
--- Dan Sabo [EMAIL PROTECTED] wrote:
Hi,
I have a huge potential project and I'm fairly new
to PHP. I've been
managing shopping carts for years for people, Miva
Merchant, doing sites,
I´m triyng to use that, but I´m noting realize how to estabilish a
conection
with oracle.
I´m getting the folowing error:
Fatal error: Call to undefined function: ora_plogon() in
e:\inetpub\wwwroot\hosted\EnsinoNet\php\adodb\drivers\adodb-oracle.inc.php
on line 105
I´m triyng to conect
Hi everyone,
I have a form which gets sent as an email, the user then fills in details
using textboxes etc.
After filling in all the required fields the user hits the submit button,
this should open a new window and pass all necessary information to this
page. I have tried using both POST and GET
At 11:21 17.03.2003, Tony Burgess said:
[snip]
I have a form which gets sent as an email, the user then fills in details
using textboxes etc.
After filling in all the required fields the user hits the submit button,
this should open a new window and pass all
Vernon [EMAIL PROTECTED] escribió en el mensaje
news:[EMAIL PROTECTED]
I'm setting up a user online system using MySQL where I have 4 fields, all
of which is working fine.
I need the information from all the fields but want only distinct values
based on the uname column. If I use the:
Hi everyone,
If possible reply me.
I have one problem.
I'm trying to execute exec() command to generate stats by using
the exec() function, it does not generate an error but it also
does not run the command, and the value of $result thats returned
from exec() is 11.
Below is my PHP coding.
Hi all,
I'm attempting to find some documentation on magic_quotes_runtime and
magic_quotes_gpc -- what's the difference?
Justin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Apologies -- I found the documentation in the php.ini comments.
Justin
on 17/03/03 10:08 PM, Justin French ([EMAIL PROTECTED]) wrote:
Hi all,
I'm attempting to find some documentation on magic_quotes_runtime and
magic_quotes_gpc -- what's the difference?
Justin
--
PHP General
I have a form that takes a number of hidden values and a number of
textfields and a submit button.
Once the user clicks on the submit button a new internet browser should open
and all the posted date should be caught by PHP. I have managed to get it to
work fine with the GET method, however I
Dear All,
I am in Application Developlment in PHP and currently developing a project in PHP. I
need to know if there is a way that i do not need to give source code for the product
i develope i.e. is there any way to compile php ? I am using apache 2 on Red Hat 7.2
boxes.
Thanks and Regards,
Hi:
I'm running a 'batch' PHP program from the shell with #!/usr/bin/php
-q as the first line. After some processing, it ends silently without
any visible notice or error. It processes information from a PostgreSQL
database and shows its progression (via echoes) until it suddenly stops.
This
This is wrong:
extension_dir = /root/php-4.3.0/php-4.3.0/modules = /root/php-4.3.0/php-4.3.0/modules
apache does not run as root, so it does not have access to the
directory. Move the content of the directory to another suitable
directory (e.g. /usr/local/lib/php4) and change its permisions.
There are comertial solutions, check out http://www.zend.com
Niks wrote:
Dear All,
I am in Application Developlment in PHP and currently developing a project in PHP. I need to know if there is a way that i do not need to give source code for the product i develope i.e. is there any way to
Manuel Glauser wrote:
This weekend, I've been fighting with some really weird problem though... I installed a few mail(); actions on my website plus in some projects I'm working on. I have one really big problem though... Everything works fine until I want to send a mail to another mailserver
Monil Chheda wrote:
Am I MISSING SOMETHING ?
?php
$flag = false;
if ($fp = fopen(web.log,r)) {
while (!feof($fp)) {
$line = fgets($fp,1024);
Here you check if there is an end of string $line, sure there is, there
are no infinite strings
if (ereg(\$,$line)) {
Hi List,
I have problem with instalation of PHP4 on my LINUX APACHE MySQL server.
when I did: ./configure --with-apxs=/server/apache/bin/apxs
I got error message:
-
configure error: Sorry I cannot run apxs.Either you need to install Perl or you need
to pass
the absolute path of by using
may be this snip from manual can show the way:
snip
You can decide whether or not you want a client disconnect to cause your
script to be aborted. Sometimes it is handy to always have your scripts run
to completion even if there is no remote browser receiving the output. The
default behaviour is
I have a strong feeling that POSIX regexs cannot do multiline, try using
perl-compatible, or make a loop to read the textarea content line by line
John Taylor-Johnston wrote:
I need to process the contents of textarea name=textarea
textarea name=textareaSU: something ... blah blah¶
TI: Title
At 13:12 17-3-03, you wrote:
Hi List,
I have problem with instalation of PHP4 on my LINUX APACHE MySQL server.
when I did: ./configure --with-apxs=/server/apache/bin/apxs
I got error message:
-
configure error: Sorry I cannot run apxs.Either you need to install Perl
or you need to pass
the
Hi,
I am designing a system which will have a different menu option for
different users i.e. admin/standard etc.
If I am using frames how could I change the page a user sees in the top
frame for each different type of user? I know how to do this with standard
pages, its just the frames that are
At 13:29 17-3-03, you wrote:
Hi,
I am designing a system which will have a different menu option for
different users i.e. admin/standard etc.
If I am using frames how could I change the page a user sees in the top
frame for each different type of user? I know how to do this with standard
pages,
At 13:29 17.03.2003, shaun said:
[snip]
I am designing a system which will have a different menu option for
different users i.e. admin/standard etc.
If I am using frames how could I change the page a user sees in the top
frame for each different type of
Hi all,
I have a app that enables the user to call data out of a mysql database into
textareas. They can then edit the data and update the database. There is one
field that I whant to stop them from changing. This field I also use in my
sql query when updating the table,ie. where
Are there non-commercial once around ? Has any one used Zend Safe Guard
before ? How effective is this ?
Thanks in advance!
Nik
- Original Message -
From: Marek Kilimajer [EMAIL PROTECTED]
To: Niks [EMAIL PROTECTED]
Cc: php [EMAIL PROTECTED]
Sent: Monday, March 17, 2003 5:22 PM
Subject:
-Original Message-
From: Bill Hudspeth [mailto:[EMAIL PROTECTED]
Sent: 14 March 2003 20:07
I am developing an application that ouputs the results of a
database query
to a PDF file using PHP. The only real problem I have
encountered is in
trying to use the include and/or require
Hi All,
I'm an Australian PHP developer and host most of my web sites on US
servers. One in particular is primarily accessed by Australian visitors
and I want to be able to reflect Australian Eastern Standard Times when
writing / reporting records, rather than the server time, which is set
to US
Hiya
I have a login_screen.html which on submit is sent to login.php.
Login.php does all the checking of usernames and passwords. I am trying to
to produce this logic:
//In login.php
if password and username correct {
go to main page
}
else
{
go back to login.screen.html
echo Please try again;
Hi guys.
I´m having a problem with a login system. I enter with the correct password
and I press the submit button. But, nothing happens. It´s not a typinh
mistake, cause when i enter the wrong pass. it returns me an error. What
this can be???
thanks
---
Outgoing mail is certified Virus Free.
-Original Message-
From: Sebastian [mailto:[EMAIL PROTECTED]
Sent: 15 March 2003 06:23
doesn't work but also doesn't give any errors, I will try to
explain what I
am trying to do:
I am trying to remove the header and footer to create a
printer friendly
page with just the
Hello friends.
This is the first time I am trying this combination : Win XP prof + Mysql + Php + IIS.
When I click submit in the test1.php page, the page goes to test2.php, but shows the
following error :
Notice: Undefined variable: StudentLastName in c:\inetpub\wwwroot\test\test2.php on
line
-Original Message-
From: Charles Kline [mailto:[EMAIL PROTECTED]
Sent: 15 March 2003 18:52
I have an array that gives me this when I do:
print_r($my_array);
Array
(
[0] = Array
(
[dra_id] = 5
)
[1] = Array
(
Since PHP 4.10 the form values (and other values) are not automagically
turned into variables, for security reasons.
See http://www.php.net/release_4_1_0.php
Options: modify register_globals=On in php.ini or use
$_POST['formfieldname'] in stead of $formfieldname
At 14:06 17-3-03, you wrote:
-Original Message-
From: joe [mailto:[EMAIL PROTECTED]
Sent: 15 March 2003 23:50
what is the best way to check, if a value is NOT in an array?
the purpose is to take results from a webpage and check
one-by-one if they
are in the txt file already. if they are not, i have to write
i use two files for this purpose as i use sessions to check the user is
always logged in:
validate_session.php
?php
session_start();
//check the session variables
if (!session_is_registered(ses_user_name)) {
//if not registered then redirect to corresponding page
require
Hi,
just a quick question. How do I include double quotes
in a variable? I am trying to put html code in a
variable in a mailing program:
$mail-Body = h1 style=color: prple; font-size:
20pt;Heading/h1
Please e-mail me at a
href=mailto:[EMAIL PROTECTED][EMAIL
on 17/03/03 11:55 PM, M Wells ([EMAIL PROTECTED]) wrote:
I'm an Australian PHP developer and host most of my web sites on US
servers. One in particular is primarily accessed by Australian visitors
and I want to be able to reflect Australian Eastern Standard Times when
writing / reporting
Hi all,
I am inserting data from a form into a mySQL database. I am using
addslashes to escape things like ' in the data input (this is actually
being done in PEAR (HTML_QuickForm).
The weird thing is that the data gets written into the table like:
what\'s your problem?
WITH the slash. I
Hello, Eve,
I would think the first error leads to the solution: to me it looks like there
is no sql text at all. Try un-commenting the echo $sqlStmt; at the beginning
and look at the html-source generated; maybe it helps to use something like
echo .$sqlStmt.;
instead to clearly see if
Hi, Shaun,
Shaun wrote:
Hi,
i would like to list all of the tables and field names in my database
e.g.
table 1
field 1
field 2
field 3
table 2
field 1
field 2
field 3
table 3
field 1
field 2
field 3
etc
is there a simple way to do this?
thanks for
Either you use simple quotes for the code --- '
or you escape the by using \
$mail-Body = h1 style=color: prple; font-size:
20pt;Heading/h1
hth
--
{Bis bald ° Frederic}
-This is a block of text that can be added to your posts. 72 characters.
--
PHP
a) $mail-Body = h1 style=\color: prple; font-size: 20pt;\Heading/h1;
b) $mail-Body = 'h1 style=color: prple; font-size: 20pt;Heading/h1';
The second method is better reabadle but also disable variable substitution
and most escape sequences (\n and the like).
hth
Ian a. gray wrote:
Hi,
just
manju visu wrote:
Hi everyone,
If possible reply me.
I have one problem.
I'm trying to execute exec() command to generate stats by using the
exec() function, it does not generate an error but it also does not
run the command, and the value of $result thats returned from exec()
is 11.
Below
Ruben wrote:
I'm running a 'batch' PHP program from the shell with #!/usr/bin/php
-q as the first line. After some processing, it ends silently without
any visible notice or error. It processes information from a
PostgreSQL database and shows its progression (via echoes) until it
suddenly
Gilberto Garcia Jr. wrote:
Hi guys.
Im having a problem with a login system. I enter with the correct password
and I press the submit button. But, nothing happens. Its not a typinh
mistake, cause when i enter the wrong pass. it returns me an error. What
this can be???
You would need to tell us a
Hi Marek,
Marek Kilimajer [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
This is wrong:
extension_dir = /root/php-4.3.0/php-4.3.0/modules =
/root/php-4.3.0/php-4.3.0/modules
apache does not run as root, so it does not have access to the
directory. Move the content of the directory
There is a directive max_execution_time to be set in php.ini. afaik, it limits
the duration of php-scripts. Maybe you have to increase.
(The sense is something like to prevent faulty scripts from overloading the
server)
The Value is in seconds; default 30 (?).
hth
Ruben wrote:
Hi:
I'm
I have a query that returns results including the fields Year, Month, and Day
that I want to sort by date.
Because of the nature of the query (it includes a GROUP BY statement), I cannot
sort it in the query.
How can I sort the results?
I tried to use asort() while designating the field but
Bill
Try this:
while ($crow=mysql_fetch_array($cresult)) {
$therow[]=$crow;
}
sort($therow);
André Cupini
Programador
[EMAIL PROTECTED]
NeoBiz - fábrica de internet
http://www.neobiz.com.br
- Original Message -
From: bill
To: [EMAIL PROTECTED]
Sent: Monday, March 17, 2003
Hi there,
I have multiple web servers all running PHP 4.2.3, and they all have the same domain
name implemented by round robin DNS.
And I use a NFS filesystem, /home/share/tmp, for session.save_path.
The main purpose is when my web clients move from one server to the others, the
session will
Using the \ or using single quotes instead of double
is great. However I am now finding a problem if
someone inputs either single or double quotes on a
form which uses php.
The user inputs for example:
I\ve performed many roles including Figaro,
Dandini and 'Wotan'
becomes:
I\'ve performed
[EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Thanks for your suggestions. I had been thinking that it
must be the URL that was causing the caching (same URL,
same thing, right? Sounds good...), so I was planning
on trying something along the lines of what you suggest.
But I was
Hi,
Monday, March 17, 2003, 10:55:06 PM, you wrote:
MW Hi All,
MW I'm an Australian PHP developer and host most of my web sites on US
MW servers. One in particular is primarily accessed by Australian visitors
MW and I want to be able to reflect Australian Eastern Standard Times when
MW writing /
php has a function stripslashes() you could try using.
- charles
On Monday, March 17, 2003, at 10:11 AM, Ian A. Gray wrote:
Using the \ or using single quotes instead of double
is great. However I am now finding a problem if
someone inputs either single or double quotes on a
form which uses
Sorry folks, This question must have been asked many times before, and I must have
missed it.
Can someone please lead me to some tutorial where I can PHP and Microsoft Access?
thanks
Denis
It was a cookie problem. between php and windows.
thanks
-Mensagem original-
De: Chris Hewitt [mailto:[EMAIL PROTECTED]
Enviada em: segunda-feira, 17 de maro de 2003 11:45
Para: Gilberto Garcia Jr.
Cc: PHP
Assunto: Re: [PHP] login problem
Gilberto Garcia Jr. wrote:
Hi guys.
Im
On Thu, Mar 13, 2003 at 07:12:49PM +0200, Jani Taskinen wrote:
This is the first release candidate of the upcoming
maintenance release of PHP 4.3.2.
Please download and test it as much as possible on real-life
applications to uncover any remaining issues.
-Original Message-
From: Ian A. Gray [mailto:[EMAIL PROTECTED]
Sent: 17 March 2003 15:11
Using the \ or using single quotes instead of double
is great. However I am now finding a problem if
someone inputs either single or double quotes on a
form which uses php.
The user
Hi André,
Sorting like that doesn't get it sorted by date. Each row has a lot of fields. It
actually needs to be sorted three times by three fields, Year, Month, and Day.
Because the query uses a GROUP BY statement, I can't sort it in the query.
André cupini wrote:
Bill
Try this:
while
bill wrote:
Hi André,
Sorting like that doesn't get it sorted by date. Each row has a lot of fields. It
actually needs to be sorted three times by three fields, Year, Month, and Day.
Because the query uses a GROUP BY statement, I can't sort it in the query.
MySQL offers a DATE column type.
Use temporary table, it is simple and fast
bill wrote:
I have a query that returns results including the fields Year, Month, and Day
that I want to sort by date.
Because of the nature of the query (it includes a GROUP BY statement), I cannot
sort it in the query.
How can I sort the results?
Thanks a lot Chris:
'memory_limit' is the responsible. I have done a couple of tests and
AFAIK PHP shows no error at all when this limit is surpassed (I have
error_reporting = E_ALL ~E_NOTICE in php.ini).
Ruben.
Chris Hewitt wrote:
Ruben wrote:
I'm running a 'batch' PHP program from the
Sorting like that doesn't get it sorted by date. Each row has a lot
of
fields. It
actually needs to be sorted three times by three fields, Year, Month,
and
Day.
Because the query uses a GROUP BY statement, I can't sort it in the
query.
Why? I still don't see why you can't use an ORDER BY
I am inserting data from a form into a mySQL database. I am using
addslashes to escape things like ' in the data input (this is actually
being done in PEAR (HTML_QuickForm).
The weird thing is that the data gets written into the table like:
what\'s your problem?
WITH the slash. I am not
John,
You are right, something was adding the additional slash. I removed the
addslashes() and it fixed the problem. Something I am doing must
already be handling that... will step through the code AGAIN and see if
I can find it.
- Charles
On Monday, March 17, 2003, at 12:19 PM, John W.
Hi,
I know this topic was discussed but I deleted my previous mail so I can't go
back and review them. My question is, is there a faster way to redirect
html pages other than just using meta HTTP-EQUIV=REFRESH CONTENT=1;
URL=login.php ? Is there any way we can do that in php so that it
Manual-HTTP-Header
Poon, Kelvin (Infomart) wrote:
Hi,
I know this topic was discussed but I deleted my previous mail so I can't go
back and review them. My question is, is there a faster way to redirect
html pages other than just using meta HTTP-EQUIV=REFRESH CONTENT=1;
URL=login.php ? Is
Try zero seconds?
Poon, Kelvin (Infomart) wrote:
Hi,
I know this topic was discussed but I deleted my previous mail so I can't go
back and review them. My question is, is there a faster way to redirect
html pages other than just using meta HTTP-EQUIV=REFRESH CONTENT=1;
URL=login.php ? Is
Kelvin,
You can use
?
header(Location:login.php);
exit;
?
If you want to do it with PHP. You have to put it at the top of the
file, since no other information can be sent before the Location header.
HTH,
-Oscar F.
Poon, Kelvin (Infomart) wrote:
Hi,
I know this topic was discussed but I
Poon, Kelvin (Infomart) wrote:
I know this topic was discussed but I deleted my previous mail so I can't go
back and review them.
STFA: http://marc.theaimsgroup.com/?l=php-general
My question is, is there a faster way to redirect
html pages other than just using meta HTTP-EQUIV=REFRESH
Just clarifying a little.
The header() function doesn't necessarily go at the top. You can make whatever
operations you need, but as long as nothing is echoed to the browser, there's no
problem.
I mean:
?
// Query to a database...
//Real long process...
header(Location:
I have two variables, $StartDate and EndDate that contain values read
from MySQL Date fields. How can I determine if a value entered by the
user is between the two dates? I'm using PHP 4.0.6.
Thanks in advance,
Brad
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
header(), session_start(), etc. can go anywhere in a page (after any
content) as long as you start the page using output buffering
(ob_start()). Example (bad example) follows:
?php
ob_start()
print this;
print that;
if ($forgot)
{
// oops need to redirect
header('Location: foo.php');
}
Brad Harriger wrote:
I have two variables, $StartDate and EndDate that contain values read
from MySQL Date fields. How can I determine if a value entered by the
user is between the two dates? I'm using PHP 4.0.6.
if ($user_input $StartDate
$user_input $EndDate) {
// do
I have two variables, $StartDate and EndDate that contain values read
from MySQL Date fields. How can I determine if a value entered by the
user is between the two dates? I'm using PHP 4.0.6.
I think you can take MySQL timestamps directly into strtotime().
If($user strtotime($StartDate)
Aha.
Comments like yours made me look again. It turns out that I could use ORDER BY
with a GROUP BY but I couldn't have it before a HAVING.
Specifically, I had
SELECT ...
GROUP BY $detailsdb.eid
ORDER BY Year, Month, Day
HAVING foobar = $numcatchoices
To fix it I changed the
Can anyone please point me to a set of good functions to search and
manipulate HTML? Mainly I'm looking to buffer HTML that is output by
another script and fix some issues with it. Such as missing around
property values and many other things.
Function examples:
Find tags in HTML, replace
On March 17, 2003 07:55 am, M Wells wrote:
Hi All,
I'm an Australian PHP developer and host most of my web sites on US
servers. One in particular is primarily accessed by Australian visitors
and I want to be able to reflect Australian Eastern Standard Times when
writing / reporting records,
Switch to postgres! then you can do
SELECT stamp FROM table
WHERE stamp BETWEEN timestamp 'today' AND timestamp 'tomorrow';
On March 17, 2003 12:43 pm, Brad Harriger wrote:
I have two variables, $StartDate and EndDate that contain values read
from MySQL Date fields. How can I determine if
you do that same query in mysql
Jim
- Original Message -
From: Joshua Moore-Oliva [EMAIL PROTECTED]
To: Brad Harriger [EMAIL PROTECTED];
[EMAIL PROTECTED]
Sent: Monday, March 17, 2003 10:49 AM
Subject: Re: [PHP] Working with dates
Switch to postgres! then you can do
SELECT stamp
What is the difference as in... why one or the other?
include('somefile.php');
include(somefile.php);
Just wondering...
- ck
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Only that you can embed vars in the second one.
if $foo='bar';
include('somefile_{$foo}');
will include the file 'somefile{$foo}', where
include(somefile_{$foo});
will include the file 'somefile_bar'
HTH.
Charles Kline wrote:
What is the difference as in... why one or the other?
perfect. thanks for the explanation.
cheers,
charles
On Monday, March 17, 2003, at 02:01 PM, Pete James wrote:
Only that you can embed vars in the second one.
if $foo='bar';
include('somefile_{$foo}');
will include the file 'somefile{$foo}', where
include(somefile_{$foo});
will include the
Is it possible to look at individual chars of a string?
eg: $str = 12345;
print $str_1 // Gives 1
print $str_2 // Gives 2
Doing this with an array would be handy, maybe using explode or preg_split?
Thanks in advance!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
What is the difference as in... why one or the other?
include('somefile.php');
include(somefile.php);
Just wondering...
No difference as far as include() goes.
Read the manual on strings to see how PHP treats strings in single and
double quotes differently.
---John Holmes...
--
PHP
- Original Message -
From: Charles Kline [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, March 17, 2003 11:57 AM
Subject: [PHP] What is the difference: include()
What is the difference as in... why one or the other?
include('somefile.php');
include(somefile.php);
Just
All the email coming from a web site, even though I have set the Reply-To,
have the Reply-To set to [EMAIL PROTECTED] Anyone have any ideas why? I
want the reply-to set to somethign else.
Here is what I have:
mail($clubemail, $subject, $message , From: $email\r\n,Reply-To:
$email);
--
PHP
- Original Message -
From: Bix [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, March 17, 2003 12:04 PM
Subject: [PHP] Looking at individual chars of string
Is it possible to look at individual chars of a string?
eg: $str = 12345;
print $str_1 // Gives 1
print $str_2 // Gives
Bix wrote:
Is it possible to look at individual chars of a string?
eg: $str = 12345;
print $str_1 // Gives 1
print $str_2 // Gives 2
Try this:
print $str{0}; // gives 1
print $str{1}; // gives 2
Erik
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Try it this way.
mail ( $clubemail, $subject, $message, From: $email\r\n .
Reply-To: $email\r\n );
Notice the period (.) between the from and reply-to section, instead of
the comma, and the added newline (\r\n) after the reply-to address.
Vernon wrote:
All the email coming from a web
Kevin Stone wrote:
Actually as far as the computer knows strings *are* arrays. Access any
character within a string in the same mannor as you would access an element
in an array. For example:
$str = hello world;
echo $str[4]; // prints o
echo $str[6]; // prints w
That works but is deprecated.
- Original Message -
From: Vernon [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, March 17, 2003 12:09 PM
Subject: [PHP] Email always set to server's email, why?
All the email coming from a web site, even though I have set the Reply-To,
have the Reply-To set to [EMAIL PROTECTED]
Charles Kline wrote:
What is the difference as in... why one or the other?
include('somefile.php');
include(somefile.php);
Just wondering...
If you had a constant named somefile or php and you use the second
syntax, the constant would be interpolated/evaluated to the value of the
constant.
Cheers buddy!
Erik Price [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Bix wrote:
Is it possible to look at individual chars of a string?
eg: $str = 12345;
print $str_1 // Gives 1
print $str_2 // Gives 2
Try this:
print $str{0}; // gives 1
print $str{1}; //
Much appreciated!
Erik Price [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Kevin Stone wrote:
Actually as far as the computer knows strings *are* arrays. Access any
character within a string in the same mannor as you would access an
element
in an array. For example:
Erik Price wrote:
If you had a constant named somefile or php and you use the second
syntax, the constant would be interpolated/evaluated to the value of the
constant.
Generally I always use single quoted strings unless there's some need
for double-quoted strings (like if I want to embed a
If you have Dreamweaver MX, you can use PHAkt extension, that allows to work with ODBC.
Interakt:
http://www.interakt.ro/
Macromedia
http://www.macromedia.com/
--
zerof
--
Denis L. Menezes [EMAIL PROTECTED] escreveu na mensagem
news:[EMAIL PROTECTED]
-
Can
Erik Price wrote:
snip
BTW, I'm talking out my butt here.
/snip
I was wondering what that smell was. :o
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
hello all,
I have another questions .. I really could use some feedback on this script,
I want to make sure it's secure enough. can anyone see any risks? Basically
what the script does it get username/password and user access level
(passwords are encrypt md5 hash, from the database. I then
1 - 100 of 164 matches
Mail list logo