Hey Guys,
I've had a look around but no luck watsoever. If someone could give me a
short answer on this one? Is it possible to make a php ntp client? If so
give me your opinion on getting it done please?
Paul
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.
Can anyone tell me what is wrong with this simple code? It errors with
the ldap_get_values and says: "supplied resource is not a valid ldap
result entry resource"
I am very new at PHP LDAP so pardon my error...
--
Caleb Walker CCSE, MCSE
--
PHP General Mailing List (http://www.php.net/)
Hi, yesterday I upgraded to php 4.3.2 from 4.3.1 with the freebsd ports.
There were any problems on the process, but many of the pages I had
running with mssql, now doesn't work.
These are the errors I get:
Warning: mssql_num_rows(): supplied argument is not a valid Sybase result
resource in xx
In this code I'm tring to make it that It includes the 5 files (main, menu,
pages, add a page, images add/view) and will also be editable, the add a
page one is messed up becasue everytime I try and update it it doesnt
update! But when I go and add a page it works... So please look over my
code, Th
On Jun 11, 2003, "Alex Earl" claimed that:
|>
|> If he wants to download, in the file downloadit.php, there is:
|> header("Content-type: application/octet-stream\n");
|> header("Content-Disposition: attachment; filename=mysoft-1.0-truc.zip");
|> header('Cache-Control: public');
|> header("Content-
Are there any good resources out there that discuss the use of LDAP with
PHP. It seems that because LDAP is not used as much as most database
technologies the PHP site is not very good at explaining how to use the
LDAP functions. My only other option was to go and buy an advanced PHP
book.
Thank
Good question, but wrong place for it. Ask [EMAIL PROTECTED]
On Wednesday 11 June 2003 08:31 pm, Ed wrote:
> Howdy folks!
>
> Is there a way to have multiple *.c source files and still end up with a
> single *.so while using gcc? How would that be reflected in the config.m4
> file?
>
> I searche
Hi,
Thursday, June 12, 2003, 12:25:05 AM, you wrote:
AH> for example i have form with a dropdown selection as shown below.
AH>
AH>
AH> 1
AH> 2
AH> 3
AH> 4
AH> 5
AH>
AH>
AH> Just say I have a function to generate form fields based on the total variable
from above... so
AH> function gen
Lars,
Thanks. I am getting this error however:
Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING' in
It does not like addslashes() because of the {}? What is a sensible work around? Or do
I even need addslashes??
if ($found)
{
$sql = "INSERT INTO $dbtable
(RNu
Hi,
Thursday, June 12, 2003, 1:16:26 AM, you wrote:
AM> I have a form with two dynamic dropdowns that submit the form when an
AM> option is chosen. There is also a button at the bottom of the form that
AM> submits the form.
AM> The first drop down is a list of all customers. The user chooses a
Hi,
Please keep in mind that I am a newbie to PHP, however I have just solved
this same type of problem (for County, City, and Zip) as follows:
// COUNTY
print "";
print "*
County:";
print "";
if ($countyX != "") { $county = $countyX; }
print " ";
print "";
$result =
$$ is perfectly explained in the variable variables section.
Shawn McKenzie wrote:
Can you expand on this? I haven't found a ref to the $$ except for variable
variables. $$ What does it do? How is it used?
Thanks!
Shawn
"Leif K-Brooks" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Howdy folks!
Is there a way to have multiple *.c source files and still end up with a single *.so
while using gcc? How would that be reflected in the config.m4 file?
I searched for examples in the source tree, but did not find one. I tried different
things, but ended up with multiple *.so's.
Hi there,
I'm trying to ristrict access to a directory in my public root. /members/
should only be access able to people who have access .. and access rights
are stored in a mysql databace. Should I be using .htaccess?
Can anyone open a discussion about this ... because i would like to lean
more
Can you expand on this? I haven't found a ref to the $$ except for variable
variables. $$ What does it do? How is it used?
Thanks!
Shawn
"Leif K-Brooks" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Use $$ unless you need to use eval. Easier to read, faster to process.
> Also s
Hi,
Thursday, June 12, 2003, 5:19:00 AM, you wrote:
MW> Hello all:
MW> I have searched the archives, and although I know this is probably there can
MW> not find it. I'm probably just not searching for the right subject. Here
MW> is what I am looking for.
MW> I have a table with Location and Ho
Greetings,
We use debian package: php44.1.2-6.
We use a GET request to initiate a "status request"
process on
another server and want to split the output into fields.
My php code is:
--
$send = "GET \
/servlet/gateway?Client=TEST&Q=CacheRefreshReque
stStatus \
H
How about the need to add prices together, or store binary data, or using a
bit for true false...
There are numerous reasons for datatypes in a database.
HTH,
Clint
-Original Message-
From: Dale [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 11, 2003 8:43 PM
To: [EMAIL PROTECTED]
Subjec
Leif,
The users I'm talking about here are two internal people, not the subscribers.
Budget was tight, and rather than wrangling text from both Netscape and IE,
we just made a decision. I don't remember the quirk exactly, I think it was
the way wrapping was handled in the textarea in NN.
Subsc
if(!session_id()){
//Session not started
}
[EMAIL PROTECTED] wrote:
dumb question but how can i check if i have loaded the session_start
function without actually checking for a particular session variable , i
need to know as to prevent it being called twise within my DB class which
is seperate fr
Just a small addendum, I also suggest using -C if you are using a non CLI PHP
binary. This prevents PHP from changing directories to the location of the script.
Perhaps not important for your needs, but if like me, you do many shell based
scripts without the CLI version, it is very useful.
Cheers,
Dvdmandt wrote:
It's not that killing... :p
preg_match("#^-?[0-9]+$#",$_POST["var_int"]);
Not *that's* a mouthful ...
I was also thinking about that === operator.. And this:
if(((string)((int)$_POST["var_int"]))==$_POST["var_int"])
Cute. Might actually work too! Wonder if there would be any differ
I am still new to web programming. I have a question regarding sql
databases. Since variables in php don't require a type, why is it so
important that you specify a type for each of the colomons in your tables in
your sql database. It seems to me that you could potentially make everything
chars and
dumb question but how can i check if i have loaded the session_start
function without actually checking for a particular session variable , i
need to know as to prevent it being called twise within my DB class which
is seperate from my authentication class where session_start is set so then
the DB
"Felipe Desiderati" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>I need a simple function that takes a string and formats
> with a generic mask. Like this example above:
>
>$string1 = "12345678"
>$string2 = "11062003"
>
>echo format_string ("#.###.###-#", $string1); // --> Returns
Damn, that was a fast response! 5 secs?
anyway, why was the w32api functions removed from PHP 4.3? And I can only
guess from 5.0 as well? They seem very intresting you see...
Thanks in advance / DvDmanDT
"Sterling Hughes" <[EMAIL PROTECTED]> skrev i meddelandet
news:[EMAIL PROTECTED]
> In php5 yo
In php5 you can use the mono module.
-Sterling
On Wed, 2003-06-11 at 21:43, DvDmanDT wrote:
> Hello, I was wondering if anyone has a working php_dotnet.dll? I was also
> wondering is anyone was going to add class constructor support for it? Or is
> that already supported?
>
> Thanks in advance /
Hello, I was wondering if anyone has a working php_dotnet.dll? I was also
wondering is anyone was going to add class constructor support for it? Or is
that already supported?
Thanks in advance / DvDmanDT
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.ne
you could do something like this
$buffer = '';
$fd = fopen($filename, 'r');
while (!feof($fd)) {
$buffer .= fgets($fd, 4096);
}
fclose($fd);
a better option would probably be to make your "text"
file a "php" file and echo your value where you want
them
note: whatever you include will be parsed
It's not that killing... :p
preg_match("#^-?[0-9]+$#",$_POST["var_int"]);
I was also thinking about that === operator.. And this:
if(((string)((int)$_POST["var_int"]))==$_POST["var_int"])
"Jean-Christian Imbeault" <[EMAIL PROTECTED]> skrev i meddelandet
news:[EMAIL PROTECTED]
> Felipe Desiderati
Hello,
On 06/11/2003 05:38 PM, Diana wrote:
Hi,
just today I stumbled into the same problem. It is
true, I got this answer from an expert:
"Unfortunately this will not work. SMTP relaying is
disabled on all the
Exchange connector servers and a standard Exchange
mailbox server does
not
support
Felipe Desiderati wrote:
try this:
if (ereg("^[0-9]+$", $_POST["var_int"))
echo "is int";
That's not the best regexp. It doesn' take into account negative
integers and isn't there a [[:numeric:]] or something like regexp that
would work better.
I'm looking for the simplest method and the on
try this:
if (ereg("^[0-9]+$", $_POST["var_int"))
echo "is int";
[]´s Felipe
- Original Message -
From: "Jean-Christian IMbeault" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June 11, 2003 9:44 PM
Subject: [PHP] How to find if a string is an integer?
> I would like
I would like to test wether a $_POST var is an integer or not. What is
the best way?
I ahve tried is_int() but that fails b/c $_POST vars are always strings.
is_numeric() doesn't help because it doesn't differentiate bewteen
numbers (1.0) and integers (1).
The best I have been able to come up
Hi Folks,
First of all, sorry for my english, but it isn´t good. I ´ll try to be cleary. Weel, I
need a simple function that takes a string and format with a generic mask. Like this
example above:
$string1 = "12345678"
$string2 = "11062003"
echo format_string ("#.###.###-#", $string1); // --
and what consequences would that be.. its not law
-Original Message-
From: Leif K-Brooks [mailto:[EMAIL PROTECTED]
Sent: June 11, 2003 3:27 PM
To: chris sherwood
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] nl2br
Standards-compliant HTML can be written just as cheaply and easily as
IE-compl
On Wed, 2003-06-11 at 15:55, jtjohnston wrote:
> Can someone see clearly through what I'm trying to do please?
> I've been at this for 4 hours trying to see where I have gone wrong.
[snipped]
Might something like this work?
array (
'Description' => 'Title: (TI)',
'Option' => 'ST',
),
Can someone see clearly through what I'm trying to do please?
I've been at this for 4 hours trying to see where I have gone wrong.
# contents of a text file #
Enregistrement
TI: ... So They Understand ...: Cultural Issues
AU: Schneider,-William
PB: Logan, UT : Utah
Standards-compliant HTML can be written just as cheaply and easily as
IE-compliant HTML. If I chose to make my restraunt inaccessible to
wheel chairs, I would have to face the consquences.
chris sherwood wrote:
That's true but how would you feel if you made some choices and then had
people cri
That's true but how would you feel if you made some choices and then had
people criticizing it when you have no choice due to resource and funding
restrictions?
-Original Message-
From: Leif K-Brooks [mailto:[EMAIL PROTECTED]
Sent: June 11, 2003 3:13 PM
To: chris sherwood
Cc: [EMAIL PROT
And it's my choice to tell him to go to hell.
chris sherwood wrote:
if they choose to limit to ie thats their choice ...
--
The above message is encrypted with double rot13 encoding. Any unauthorized attempt
to decrypt it will be prosecuted to the full extent of the law.
--
PHP General Maili
>
> PS some mailservers do not like \r\n, check the manual on mail() and see
> what they suggest, i think it was just \n.
RFC for SMTP states that CRLF (\r\n) should be used. A lot of mail servers
will accept just \n, but it is best to try and be standards compliant, you
have less potential for p
Hi all- I'm wondering what's the easiest way to forward a message using the
imap functions. The emails I want to forward have attachments so I'm hoping
there's an easy way to do this. Or do I have to break down the messages and
then send via imap_mail_compose()? BTW the email address I want to f
if they choose to limit to ie thats their choice ...
-Original Message-
From: Leif K-Brooks [mailto:[EMAIL PROTECTED]
Sent: June 11, 2003 2:51 PM
To: Miles Thompson
Cc: [EMAIL PROTECTED] Php. Net
Subject: Re: [PHP] nl2br
That's plain wrong. This is the /world wide/ web, not the IE users
Wow, thanks! A nice detailed reply that should keep me busy for a good few
hours
All the best
Ade
> -Original Message-
> From: John S. Huggins [mailto:[EMAIL PROTECTED]
> Sent: 11 June 2003 23:02
> To: Adrian Teasdale
> Cc: [EMAIL PROTECTED]
> Subject: Re: [PHP] piping email directly int
On Wed, 11 Jun 2003, Adrian Teasdale wrote:
>-Hi there
>-
>-We are wanting to create a little help/crm tool for internal use. Rather
>-than reading (and parsing) in an email from a pop account, is it now
>-possible to pipe email in directly to a database via PHP? If so, any
>-pointers on how to
That's plain wrong. This is the /world wide/ web, not the IE users'
club. Either stop that BS or keep off of the internet!
Miles Thompson wrote:
We limited our users to using IE
--
The above message is encrypted with double rot13 encoding. Any unauthorized attempt
to decrypt it will be pro
(darn, this one was already answered, i hate it that some people ask
questions with a future time.)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
When using my yahoo account as test-target for this script, I get this in
return from my Mercury server:
== quote from error message ==
The mail server has encountered errors processing your request:
* Unrecognized command "Reply-to:".
From: "DeltaPower" <[EMAIL PROTECTED]>
Reply-to: "DeltaPowe
Check out stripslashes().
MT
At 04:16 PM 6/11/2003 -0400, Matt Palermo wrote:
I wrote a small script that creates a link to all the .php and .txt files
in a given directory. When one of these links is clicked, it brings up
another window with the files contents inserted into a text area. From
I am no expert in email, but with a little help, I figured out how to
use procmail to pipe email into a perl script and work with the data
from the email in that script. So I am pretty sure it is possible using
php as well.
>>> "Adrian Teasdale" <[EMAIL PROTECTED]> 06/11/03 04:31PM >>>
Hi there
W
At 04:15 PM 6/11/2003 -0400, Edward Peloke wrote:
Ok,
I am trying to create a very basic page where we can all easily work on a
document. I just have a huge textarea that inserts the text into a longtext
field in the mysql db. I use nl2br to keep the formatting. Of course, when
the document is v
Hi there
We are wanting to create a little help/crm tool for internal use. Rather
than reading (and parsing) in an email from a pop account, is it now
possible to pipe email in directly to a database via PHP? If so, any
pointers on how to do it and anything to watch out for?
Thanks in advance
>
>// pull fields from form query
>$to = "[EMAIL PROTECTED]";
>$name = $HTTP_POST_VARS['name'];
>$address = $HTTP_POST_VARS['address'];
>$listname = $HTTP_POST_VARS['listname'];
>$action = strtoupper($HTTP_POST_VARS['action']);
>
>// build headers
>$from = "\"$name\"
Hi gang
I've got this newsletter for my website. It runs of my own mailserver,
running Mercury.
To simplify subscribing and unsubscribing, I've built a PHP script to
handle sending those commands to the server. The maillist for the
newsletter is setup to send confirmations out to anyone who wis
On Wed, 2003-06-11 at 10:45, Matt Palermo wrote:
> I would just copy the file, but I am not sure how to copy the file and paste
> it in the same folder with a different name. Any advice you can give for
> that? Thanks.
>
> Matt
I may be missing something, but:
copy('/path/to/origname.txt', '
On Wed, 2003-06-11 at 15:58, AES Security - Brian Celenza wrote:
> Okay hopefully I can explain this system well enough.
>
> What I am trying to do is send a tcp/ip request to a visual basic program
> using php.
>
> Is there anyway to send raw data over tcp/ip using php, or how would i be
> able
--- AES Security - Brian Celenza <[EMAIL PROTECTED]> wrote:
> Okay hopefully I can explain this system well enough.
>
> What I am trying to do is send a tcp/ip request to a visual basic
> program
> using php.
>
> Is there anyway to send raw data over tcp/ip using php, or how
> would i be
> able t
* and then John S. Huggins declared
> >-Has anyone written a function that does what nl2br() does but wraps text
> >-in a 's instead? I'm a bit of a clean html type and nl2br() just
> >-leaves me wishing there was a better way...
>
> Several examples appear in the user comments section of:
>
On Wed, 2003-06-11 at 13:40, Mark wrote:
> Or you can simply turn off NOTICE error reporting in the php.ini file
> or use ini_set or error_reporting() to not include notices. This
> should not affect functionality.
That's not a good idea; it's treating the symptom, not the problem. A
better idea
On Wed, 11 Jun 2003, Nick Wilson wrote:
>-Hello everyone,
>-
>-Has anyone written a function that does what nl2br() does but wraps text
>-in a 's instead? I'm a bit of a clean html type and nl2br() just
>-leaves me wishing there was a better way...
Several examples appear in the user comments se
Sounds like you have magic quotes turned on in your php.ini. I would check
that out.
Alex
> Will the stripslashes() remove the slashes that are supposed to be in the
> file? Because often times there are slashes in the file that need to be
> there.
>
> Matt
> - Original Message -
> From
On Wed, 2003-06-11 at 12:10, Dan Joseph wrote:
> Hi,
>
> I cannot figure this out... Need some assistance.
>
> I have an array:
>
> $jack[#] = array(
> "loan_info" => 101,
> "first_name" => jack,
> "last_name" => mother
> );
>
>
Will the stripslashes() remove the slashes that are supposed to be in the
file? Because often times there are slashes in the file that need to be
there.
Matt
- Original Message -
From: "CPT John W. Holmes" <[EMAIL PROTECTED]>
To: "Matt Palermo" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sen
Or you can simply turn off NOTICE error reporting in the php.ini file
or use ini_set or error_reporting() to not include notices. This
should not affect functionality.
--- Lars Torben Wilson <[EMAIL PROTECTED]> wrote:
> On Wed, 2003-06-11 at 12:22, Ryan M wrote:
> > Thanks for the advice... The
Use stripslashes() to remove the slashes. Use htmlentities() on the text
before you put it into the , also.
---John Holmes...
- Original Message -
From: "Matt Palermo" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June 11, 2003 4:16 PM
Subject: [PHP] slash trouble when edi
Hi,
just today I stumbled into the same problem. It is
true, I got this answer from an expert:
"Unfortunately this will not work. SMTP relaying is
disabled on all the
Exchange connector servers and a standard Exchange
mailbox server does
not
support SMTP. The only way that you can send SMTP
em
Use $$ unless you need to use eval. Easier to read, faster to process.
Also safer if you don't validate form data.
Jason Lehman wrote:
Is $$ the same as eval or is it different and my main question is, is it
safer to use to for processing form data?
--
The above message is encrypted with
Hello everyone,
Has anyone written a function that does what nl2br() does but wraps text
in a 's instead? I'm a bit of a clean html type and nl2br() just
leaves me wishing there was a better way...
I'm afraid my regex is dreadfull so I just hoped someone might have
already done it and be willing
thanks John, I will give that a shot.
-Original Message-
From: CPT John W. Holmes [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 11, 2003 4:18 PM
To: Edward Peloke; [EMAIL PROTECTED] Php. Net
Subject: Re: [PHP] nl2br
> I am trying to create a very basic page where we can all easily work
On Wed, 2003-06-11 at 12:22, Ryan M wrote:
> Thanks for the advice... The link worked Now it is saying this:
>
> Notice: Undefined index: action in
>
> It only says this if there is no action...it goes away once I click the link
> and the action=someaction Is there a way to fix my php
I am trying to pass the value of a variable from 1 PHP form to another but
cann find out how to do this any clues or links very welcome
Thanks
Denis Croombs
www.just-servers.co.uk
www.just-hosting.net
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/
I wrote a small script that creates a link to all the .php and .txt files in a given
directory. When one of these links is clicked, it brings up another window with the
files contents inserted into a text area. From there the user can edit the text file
then click a submit button to make the c
> I am trying to create a very basic page where we can all easily work on a
> document. I just have a huge textarea that inserts the text into a
longtext
> field in the mysql db. I use nl2br to keep the formatting. Of course,
when
> the document is viewed in the textarea, all of the are there.
Okay hopefully I can explain this system well enough.
What I am trying to do is send a tcp/ip request to a visual basic program
using php.
Is there anyway to send raw data over tcp/ip using php, or how would i be
able to make some sort of adapter to take the request and be able to read it
from a
Ok,
I am trying to create a very basic page where we can all easily work on a
document. I just have a huge textarea that inserts the text into a longtext
field in the mysql db. I use nl2br to keep the formatting. Of course, when
the document is viewed in the textarea, all of the are there. TH
I'm finding that escapeshellarg() doesn't "protect" against malicious
strings
used against Windows' shell, cmd.exe. Is there a function in PHP for
escaping strings according to the Windows shell's rules?
For example, the command separator in cmd.exe is &&.
--
Jeff S.
--
PHP General Mailing L
[snip]
I'm not sure what your point is except to attempt to educate me that
coding standards are a Good Thing, which is rather obvious. My point is
that there has been no conclusive argument made that Hungarian notation
is a quantitatively better method than any other.
[/snip]
You are correct of c
On Wed, 2003-06-11 at 05:21, Jay Blanchard wrote:
> I think that part of the problem is that many PHP developers come to
> programming from the largely self-taught web community (not that there
> is anything wrong with that). They have never programmed before (doing
> HTML and CSS is NOT programmin
Ternary operator. Look in the comparison operators section:
http://us2.php.net/manual/en/language.operators.comparison.php
-Shawn
"Adrian Greeman" <[EMAIL PROTECTED]> wrote in
message news:[EMAIL PROTECTED]
>
> I am confused by the shorthand "if" notation.
> For example I just saw this PHP snipp
Hello,
When I installed php-4.3.2 I realised that phpinfo() from mod_php said :
Client API version => 3.23.56
And from CLI, he said : Client API version => 4.0.x
(this one is the mysql-client version installed)
And Browse link from PhpMyAdmin didn't worked, apache died, from the
apache error log:
>
> foreach($newlines as $newline) {
>
> #how do I get the index of the array each time $newline is printed out?
>
> echo ??;
> }
foreach($newlines as $id=>$newline){
echo $id.''.$newline;
}
read the documentation
http://us3.php.net/manual/en/control-structures.foreach.php
--
PHP Gener
Nevermind. Duh, I can do it by:
include ("xmlrpc.inc");
or
include ("xmlrpcs.inc");
"Erich Kolb" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> What do I have to do in order to use the XML-RPC functionality on a
Windows
> based machine? It was fairly easy to drop the .inc files i
foreach($newlines as $newline) {
#how do I get the index of the array each time $newline is printed out?
echo ??;
}
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Is $$ the same as eval or is it different and my main question is, is it
safer to use to for processing form data?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
What do I have to do in order to use the XML-RPC functionality on a Windows
based machine? It was fairly easy to drop the .inc files into the PHP
include directory on a Linux box, but I am not sure if it is possible to do
the same on a Windows machine.
--
PHP General Mailing List (http://www.p
[snip]
I have searched the archives, and although I know this is probably there
can not find it. I'm probably just not searching for the right subject.
Here is what I am looking for.
I have a table with Location and Hotel, and another one with Hotel and
Accommodations. I need to generate the fir
[snip]
Thanks for the advice... The link worked Now it is saying this:
Notice: Undefined index: action in
It only says this if there is no action...it goes away once I click the
link and the action=someaction Is there a way to fix my php so that
I dont have to change all of the web si
Hello all:
I have searched the archives, and although I know this is probably there can
not find it. I'm probably just not searching for the right subject. Here
is what I am looking for.
I have a table with Location and Hotel, and another one with Hotel and
Accommodations. I need to generate t
Thanks for the advice... The link worked Now it is saying this:
Notice: Undefined index: action in
It only says this if there is no action...it goes away once I click the link
and the action=someaction Is there a way to fix my php so that I dont
have to change all of the web sites hos
[snip]
Hows it goin?? Im pretty new to this, so I have a pretty simple
question. I am running an apache server with php 4 on a win 2k machine.
When I try to do something like this: Some Action";
if ($action == "someaction") {
echo "Anything";
}
?>
It says: Notice: Undefined variable: action in ..
Hi,
I cannot figure this out... Need some assistance.
I have an array:
$jack[#] = array(
"loan_info" => 101,
"first_name" => jack,
"last_name" => mother
);
# = 0 thru 12
I want to sort the array by
Hows it goin?? Im pretty new to this, so I have a pretty simple question. I
am running an apache server with php 4 on a win 2k machine. When I try to do
something like this:
Some Action";
if ($action == "someaction") {
echo "Anything";
}
?>
It says: Notice: Undefined variable: action in .
Iv
"Todd Cary" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
I have a string,
This does not work
$fullpath = $HTTP_SERVER_VARS[PATH_TRANSLATED];
$fullpath = ereg_replace("\\[^\\]+$","",$fullpath) . '\\';
What have I missed?
Todd
--
You could just use:
$path = dirname($fullpath
so your one of those people tha bounce them. i have had my email address used
in a number of spams (and a few virus sends) and it blows! the bounces
follow the from. the spammer has no clue that it bounced, nor do they really
care. instead there is someone (sometimes) at the other end of the
I would just copy the file, but I am not sure how to copy the file and paste
it in the same folder with a different name. Any advice you can give for
that? Thanks.
Matt
- Original Message -
From: "Jason Wong" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June 11, 2003 12:
Hello,
I'm trying to create one document with PHP and Ruby scripts in
the same document. Is this possible? I've tried to configure mod_ruby
to compile php documents as well but when I do that PHP doesn't work.
Is it possible to have 2 languages in the same document?
-- Keith
--
PHP G
I have a string,
D:\Htdocs\gilardi\barcode\php\testwrite.php
from
$fullpath = $HTTP_SERVER_VARS[PATH_TRANSLATED];
I want to remove the "testwrite.php" leaving
D:\Htdocs\gilardi\barcode\php\
This does not work
$fullpath = $HTTP_SERVER_VARS[PATH_TRANSLATED];
$fullpath = ereg_replace(
It really depends, mostly it is external ... to accommodate small
variations I have some style attributes around.
T
-Original Message-
From: Jay Blanchard [mailto:[EMAIL PROTECTED]
Sent: 11 June 2003 06:30 PM
To: Thomas Hochstetter; [EMAIL PROTECTED]
Subject: RE: [PHP] fastest parsing f
[snip]
I have a question concerning the parsing of scripts. The question is
what will be parsed the quickest: much inline php (dirty) code, or let
the code generate the html on the fly? I frequently use css ALOT! Does
that make any difference to php (apart from making the file quite
messy)?
[/snip]
1 - 100 of 189 matches
Mail list logo