Thank you for your 2 cents I am just learning and appreciate your comments.
- Original Message -
From: "Michael Hall" <[EMAIL PROTECTED]>
To: "Chris Crane" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, July 16, 2002 11:13 PM
Subject: Re: [PHP] Classes vs. Functions
>
> There
Pardon my sloppy explanation but here it is:
how can i sort an array based on key element ie.
key values are: a1, a2 ,a3 ..., b1, b2 ,b3, ...c1, c1, c3...
so doing this:
while (list($k, $v) = each($data)) {
for ($i=0; $i";
}
will list all the $k $v .
a = foo
a = bar
b = another foo
...
and s
I've got a problem with cookies failing.
Here's the setup-
A staging server, RedHat Linux, with php 4.3
Main server, FreeBSD, also php 4.3
Running identical Apache setups and Identical php setups.
The staging server is only accessible behind our local firewall and does
not run https. The Main s
Please Help!
I am using PHP to pull data from a MS SQL database. All other fields are
returning data fine, but this one table PROFILE is returning only like some
of the data in the field.
I am using the following simplified code:
MSSQL_CONNECT($HostName,$UserName,$Password);
mssql_select_
I checked the field properties and it is set as large text or memo, and the
data is complete in the field, just when I try to fetch it, it comes back
truncated somehow.
"Christophe Chisogne" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Christopher J. Crane w
Hello,
I have created a db that holds specific information ie a business name. I am running
into a problem on a form when you choose the business name another list is suppossed
to populate the address or addresses, if multiple occur, and you can select the
address.
I am not able to sucessfu
Is their an easy way to call a function based upon a button action?
-Dan
Your missing your default for your case switch statement
And you ; at the end of line on your last include statement..
-Dan
- Original Message -
From: "Stevie D Peele" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, September 16, 2003 4:10 PM
Subject: [PHP] Whats wrong with
1 PM
Subject: Re: [PHP] Control Structure problem
> try
>
> if ( $var == "TEST ONE" || $var == "TEST TWO" || $var == "TEST THREE") {
>
> do something;
>
> }
>
> luke
> - Original Message -
> From: "Dan J. Rychlik&qu
This doesnt work as expected.
if ( $var === "TEST ONE" || "TEST TWO" || "TEST THREE") {
do something;
}
It returns true on all strings. Ive tried using the or operator and the == but these
fail as well. Any Ideas?
-Dan
Hello,
I was wondering if my solution would work in theory in providing a Flash chat
application.
I would use the AMFPHP to interface with the flash object. I would use a class to
describe the chat room and creat new objects for private rooms. Do you think that
this will truly work, In th
I am trying to figure out the best way to accomplish this task. I have one file that
performs a certain amount of functions based on a user link choice. All the links
point to the same document. I know I need a control structure that reads what link
was read but Im not sure how to do this.
That seems to work pretty good. Thank you for this technique.
-Dan
- Original Message -
From: "Vail, Warren" <[EMAIL PROTECTED]>
To: "Dan J. Rychlik" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Friday, September 19, 2003 7:32 PM
Subject: RE: [PH
Hello,
Im having a bit of trouble with the DATE_FORMAT function in mysql.
$query = ('SELECT username, password, DATE_FORMAT(timestamp, '%d%m%y') FROM
custlogon');
I know its failing because php doesnt like the quotation before the format parameters.
Ive tried to fix this without any luck.
Tried that, it failed. I recieve undefined index timestamp. when
executing.
- Original Message -
From: "Ney André de Mello Zunino" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, September 23, 2003 7:04 PM
Subject: [PHP] Re: SQL statement
Ive used this
$query = ("SELECT username, password, DATE_FORMAT(timestamp, '%d%m%y') FROM
custlogon");
But I recieve unknown index timestamp. *shrug*
- Original Message -
From: "Chris W. Parker" <[EMAIL PROTECTED]>
To: "Dan J. Rychlik"
Jennifer, you're right, I am using fetch_array... I tried to use your
suggestion, and it failing as well, It wont even execute
Do you have a better method of looping through all these records??
- Original Message -
From: "Jennifer Goodie" <[EMAIL PROTECTED]>
.
I know its got to be problem with the string terminators and or the way the
fetch_array reads the elements of a record in my database.
- Original Message -
From: "Jennifer Goodie" <[EMAIL PROTECTED]>
To: "Dan J. Rychlik" <[EMAIL PROTECTED]>; "Chris W.
This didnt work as well.
SELECT username, password, DATE_FORMAT(timestamp, '%d%m%y') as formatted_ts
FROM custlogon;
It caused my script to die and not execute at all
- Original Message -
From: "Jennifer Goodie" <[EMAIL PROTECTED]>
To: "Dan J. Rychlik
drychlik
Host Info 127.0.0.1
Status OK
Time Stamp
Notice: Undefined index: timestamp in C:\Program Files\Apache
Group\Apache2\htdocs\Ameriforms\admintool\includes\getlogonhist.php on line
44
- Original Message -
From: "Jennifer Goodie" <[EMAIL PROTECTED]>
To: "Da
I tried this, and it failed. Thank you for the suggestion!
- Original Message -
From: "Cody Phanekham" <[EMAIL PROTECTED]>
To: "Dan J. Rychlik" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>; "Chris W. Parker" <[EMAIL PROTECTED]>;
<[EM
M custlogon;
not as formatted_ts.
It worked fine even on zeus it tested fine.
Thanks for your help
Sincerely,
Daniel
- Original Message -
From: "Dan J. Rychlik" <[EMAIL PROTECTED]>
To: "Cody Phanekham" <[EMAIL PROTECTED]>;
<[EMAIL PROT
Global works...
- Original Message -
From: "Jennifer Goodie" <[EMAIL PROTECTED]>
To: "Boyd Pearson" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Wednesday, September 24, 2003 3:44 PM
Subject: RE: [PHP] rename variables
> > I'm trying to rename some variables.
> >
> > first I have a fun
Is their a pause timer or timer function in PHP to pause a script for a certain amount
of seconds?
-Dan
Hello,
I cant figure this one out. In one form I have two button that needs to trigger their
respective functions.
In php, how would I read the values or the names of the buttons pressed?
-Dan
Oh, so its the same as reading post data from form fields. Cool. That
makes it easy.
Thank you
- Original Message -
From: "Jeff McKeon" <[EMAIL PROTECTED]>
To: "Dan J. Rychlik" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Thursday, Septem
http://www.php.net/manual/en/function.imagecreatefromjpeg.php
After using this code for some time it suddenly returns ...
Fatal error: Call to undefined function: imagecreatefromjpeg() in
/home/crushme/public_html/includes/inc_members.php on line 564
Is this the server or code that needs to
[PHP] Call to undefined function: imagecreatefromjpeg()
> Philip J. Newman wrote:
> > http://www.php.net/manual/en/function.imagecreatefromjpeg.php
> >
> > After using this code for some time it suddenly returns ...
>
> It's not suddenly, someone must have recompiled php
Here is a problem which I've been completely unable to unravel.
Basically, if I call ldap_modify (or ldap_mod_replace) with a VERY large
amount of data in the attributes array (see ldif below), the browser
will just turn and turn and turn and never finish or report anything.
But, I can do a print_
Here's a followup to my problem with ldap_mod_replace and ldap_modify.
Attached is a simple program demonstrating the problem. Basically,
if you try to fill an attribute in ldap that is something around 17000
characters or above, ldap_mod_replace hangs. I've determined it
is definately a PHP pro
Just to note:
the problem holds true for: ldap_mod_add, ldap_modify, and ldap_mod_replace.
Also, adding ldap_set_option($conn, LDAP_OPT_SIZELIMIT, 20) doesn't
resolve the problem (or setting it to 0).
Peter
On Tue, 2 Dec 2003, Peter J Hartman wrote:
> Here's a followup to my
Hi,
How do I unpack uint32's? I'm using the format character "L" and
numbers greater than 2^31 come back as signed integers instead. This seems
like a bug.
Thanks,
John J Foerch
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thanks. Neat trick with the printf command. I'll use that for now.
John
> I suppose it is a bug. It seems that all unsigned unpacks dont
> honor this, as the documentation on unpack does note.
>
> I did, however, write a patch that will enable the returning of
> unsigned values. It still needs
Hi,
Is there some way to turn off maximum execution time? Preferably
within the script itself?
Thanks,
John
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thanks for the help, everyone.
-John
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I would like to check if i have a correct url enterend
---
Philip J. Newman
Master Developer
PhilipNZ.com [NZ] Ltd.
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
what is the best way to remove extra \'s from strings ... would be ?
---
Philip J. Newman
Master Developer
PhilipNZ.com [NZ] Ltd.
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
What would the best way to veladate a URL string?
---
Philip J. Newman
Master Developer
PhilipNZ.com [NZ] Ltd.
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Query");
$exists_hUrl = "0";
$exists_hContactEmail = "0";
while ($row = mysql_fetch_array($sql_result)) {
if ($websiteUrl==$row["hUrl"]) { $exists_hUrl = "1"; break; }
if ($websiteEmail==$row["hContactEmail"]) { $exists_hContactEmail = "1&q
so far i got ...
and i can't get it to work
---
Philip J. Newman
Master Developer
PhilipNZ.com [NZ] Ltd.
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hay that works better thanks
- Original Message -
From: "Paul Chvostek" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, December 14, 2003 2:17 PM
Subject: [PHP] Re: What would the best way to veladate a URL string?
> On Sun, Dec 14, 2003 at 11:23:25A
I am using Pdf-Php to create pdf docs. I have a long text line that wraps
automatically when outputted in the pdf. That is what it is suppose to do,
however, it also outputs the new lines of the text in the source of the php
file. That is not what I want. So I do a string replace for the "\n" and
r
That worked.
Thanks Robert.
"Robert Cummings" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On Tue, 2003-12-16 at 15:02, Christopher J. Crane wrote:
> > I am using Pdf-Php to create pdf docs. I have a long text line that
wraps
> > automatically whe
Question:
When you hit enter in a text box is that classified as a \n?
---
Philip J. Newman
Master Developer
PhilipNZ.com [NZ] Ltd.
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
HP.
> On Wednesday, December 17, 2003, at 03:10 PM, Philip J. Newman wrote:
>
> > Question:
> >
> > When you hit enter in a text box is that classified as a \n?
> >
>
> generally, yes.
>
> depending on the client platform, it might be an \r\n or
Hi, is the best way to store data in a mysql database in the text it was submitted, or
in HTML
format ... changing all the \r's and things to
---
Philip J. Newman
Master Developer
PhilipNZ.com [NZ] Ltd.
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
Should $_POST[formReviewBy] have quotes or dose it not matter?
---
Philip J. Newman
Master Developer
PhilipNZ.com [NZ] Ltd.
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hay guys, Where is the best place to search the general-php archives (o;
---
Philip J. Newman
Master Developer
PhilipNZ.com [NZ] Ltd.
[EMAIL PROTECTED]
Ph: +64 9 576 9491
Fx: +64 9 576 2532
Mob: +64 21 0483 999
-
"
yes HNY to you too
- Original Message -
From: "Larry Brown" <>
To: "PHP List" <[EMAIL PROTECTED]>
Sent: Thursday, January 01, 2004 1:37 PM
Subject: [PHP] PHP New Year
> Happy New year all!
>
> Looking forward to bigger better things this year.
>
> Larry
>
> --
> PHP General Mailing
echo"$PHP_SELF";
maybe?
- Original Message -
From: "Dino Costantini" <>
To: "PHP Mailing List" <[EMAIL PROTECTED]>
Sent: Friday, January 02, 2004 11:30 AM
Subject: [PHP] A simple instruction
i have a file name with the path ex food/italy/pizza/margherita.php. how can i obtain
the name
can someone point me to the right place for a thing that would count charactors in a
string?
---
Philip J. Newman
Master Developer
PhilipNZ.com [NZ] Ltd.
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
khoa vo wrote:
I am a newbie. I'm trying to write a php script and put it on the
linux server at school.
Your name:
#!/lusr/bin/php
Hi .
I did locate php to find the path where php is installed and i got
/lusr/bin/php.
inde
I think it's because all headers must be sent BEFORE doing anything else ...
Scott Fletcher wrote:
Hi!
The login page where the HTTP Authentication would pop-up asking the web
user to enter the user id and password to log in. I'm using the PHP's
$_SERVER['PHP_AUTH_USER'] and it work okay in
Hi, just wanted to pick someones brain.
I want to store some images outside the /public_html/ how ever my isp has decided that
i'm not aloud
to write files in that area. Would the next best solution that wold be as secure to
maybe put them
in a folder with a .htaccess file in it?
---
Phi
bernard wrote:
Hi,
Thanks for the suggestions !
Problem is solved sofar.
But how can I open the link in a new window, I tried (with my limited php
knowlegde) a lot of things, but i'ts not working :-(
To open the URL in a new window, you MUST use javascript.. You can
output a HTMP page l
payme $80 a hour and i can write one ... (o;
- Original Message -
From: "Eric Belardo" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, January 15, 2004 2:33 PM
Subject: [PHP] Script Needed
> Good evening all,
>
> I am designing a website were different users will be postin
Radwan Aladdin wrote:
Hi all.. I made this code for the login.php page.. it will compare A value from the users machine (Serial) and with a value inside the database (In that users' row).. so after logging it will check if also this value is the same and then echo something..is the following code
Diana Castillo wrote:
Does anyone know if there is any speed advantage to saving a date as a unix
timestamp or a numeric field instead of a date field? (in Mysql)
thanks,
Well, I prefer using an int(14) field for saving unix dates (so, I save
the date as unix and not as date field). Thus is easi
OK, I'm at my wits' ends with this problem. I have a download page that
sends the correct
headers to the browser and downloads a blob file from a MySQL table.
Everything works
great on Mozilla, Netscape, and IE until I try to download a Zip file.
What's puzzling is that
the SAME EXACT file works
I'm trying to get php 4.3.4 installed as a module for Apache 1.3.28. I
have apache unzipped/untarred and I ran the ./configure script for it
(per the instructions in the PHP install). I then configured php with
the following line-
$ ./configure --with-mysql=/usr/local/mysql \
--with-a
Brad Pauly wrote:
On Thu, 2004-01-22 at 09:43, Thaddeus J. Quintin wrote:
I'm trying to get php 4.3.4 installed as a module for Apache 1.3.28. I
have apache unzipped/untarred and I ran the ./configure script for it
(per the instructions in the PHP install). I then configured php with
Hello,
I'm an ASP guy gone PHP. So, be patient with me as I struggle my way with
PHP. I have a some experience with writing C like syntax, as with
JavaScript and TCL. I hope to pick up PHP quickly.
2 Questions:
How to declare function and sub routines.
How to call functions and sub routines.
Okay,
There aren't Sub Routines, just Functions? I've been to the manual
recommended by Augusto *thank you*, that is helping!
I created a function called Foo with a single argument (and I set it up as
optional, that is way cool, I can't do that in ASP) ... and my question is:
I can call foo like
Is there such thing as program that will convert ASP code to PHP code? I
have built some nice libraries with ASP and am interested in converting
those over to PHP, rather than rewriting them!
Thanks!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
F
What about the security issue mentioned? Is it then possible (using the
include and/or readfile) to grab anything found on the server?
1 More thing: what if I wanted to place the contents of a file into a
variable. How do you achieve that?
Karl *also a newbie, and this is a great group*
--
Is PHP the implied script, so that it is okay to begin PHP code like this 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]
Are includes supported in ver 3.0?
I'm having troubles with my includes. Here is the include (after this
evening we will ver 4.0):
include ($DOCUMENT_ROOT . "/gophp/Main.php");
Thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additiona
So what editor is recommended? I'm a little familiar with Emacs (kinda
cool, but I'm use to keywords and such being colored - as in Interdev).
Thanks!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
What is the basic difference between print and echo? As I am understanding
it, Echo allows you to define a multi-line area to output text without
having to repeat quoting for each line but then what is the advantage of
print?
Thanks!
--
PHP General Mailing List (http://www.php.net/)
To unsubs
I'm a bit troubled with the fact that variables declared at the top of your
script are not then global to functions within that script. That in order
to see that variable within a function you'd have to declare it as global in
the function (understanding that the variable could have been set at t
Hello,
I am trying to do this:
$myVal = "
*trying to accomplish putting " qotes around my string values*
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,
Hello,
Looking through the PHP Site (someone needs to improve the search features),
and can't find information about querying form field values etc...
Thanks!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PR
Hello,
What is the equivalent command to Select Case as in:
Select case 10 + 2
case 10
'nope
case 11
'nope
case 12
'yep
case > 13
'yep - but case 12 comes first!
end select
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail
I'm having troubles : (
I can't seem to figure out how to retrieve the posted data. I'm trying
this:
$HTTP_POST_VARS["Login"]
! WAIT ! as I write this, I'm guesing that maybe my problem is *scope* (and
not the mouthwash). I'm going to try that right now, set the above var to
global within that
Okay, what is wrong with this:
echo "...are you logged in: $LoggedIn()";
// outputs:...are you logged in: ()
Function is:
function LoggedIn(){
global $HTTP_POST_VARS
if ($HTTP_POST_VARS["Login"] == "PHPIsCool")
{return "YES";}
else
{return "NO";}
}
What if I want the function to be processed within the " " quotes? Same as
a variable might be interopelated? IOW, can I call a function without
concantenating the function together with the string?
*being a little stubborn*
- Original Message -
From: "Karl J. Stu
How do I obtain the path of the local script? Or do I have to build it from
the $DOCUMENT_ROOT?
--
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 PROT
Hi,
I need to test for cookies. What is the simplest way to do this?
Thanks - Karl
--
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]
> Karl J. Stubsjoen [[EMAIL PROTECTED]] wrote:
> > Hi,
> >
> > I need to test for cookies. What is the simplest way to do this?
>
> Be a little more specific - do you want to know if there
> are cookies at all, or if there are specific cookies?
>
> Depends
> By trying to set a cookie and read it back.
Okayhere is the scenario:
User originates from STATIC Html page,
Links to my PHP Cookie Test Page
I set a cookie in my PHP Cookie Test Page
Can I then check (safely) for cookies right away in my PHP Cookie Test Page
without involving a 3rd page?
What does -> do?
As in:
$Something->then_something_over_here
--
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]
p!
Karl
- Original Message -
From: "Cal Evans" <[EMAIL PROTECTED]>
To: "Karl J. Stubsjoen" <[EMAIL PROTECTED]>; "PHP Mailing List"
<[EMAIL PROTECTED]>
Sent: Wednesday, January 24, 2001 12:08 PM
Subject: RE: [PHP] ->
> It's means th
uot;
And what about NS?
Karl
- Original Message -
From: "Brian V Bonini" <[EMAIL PROTECTED]>
To: "Karl J. Stubsjoen" <[EMAIL PROTECTED]>; "PHP Mailing List"
<[EMAIL PROTECTED]>
Sent: Wednesday, January 24, 2001 12:56 PM
Subject: RE: [PHP] Test
What is wrong with this redirect:
http://www.dogpile.com";
header ("Location: " . $rdrct);
exit;
?>
Thanks! Karl
--
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,
So my Point is:
What if you require "stored cookies" - cookies written to the users disk?
Hmmm, this cookie test would return true if "per-session" cookies was
enabled and "stored cookies" was disabled.
Karl
- Original Message -
From: "Karl J. Stubsjo
What is the simplest way to set up a procedure to loop through all passed
querystring values and/or form values?
I'm very new to PHP, and don't know how to set up loops at all.
Thanks! Karl
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additi
Hello, I'd like to check for a character at the end of a string, if it
exists remove it, example:
Looking for - Z
In string - StringZ
Result would be - String
-or-
Looking for - Z
In string - StringZzz
Result would be - StringZzz (no change)
Thanks! Karl
BTW: You guys are great!
--
PHP Gen
I've tried and tried to figure out what is wrong with this function, but I
can't. Could you please have a look. This function reconstructs the
querystring values passed in the querystring:
function PassOnGetVars() {
global $HTTP_GET_VARS;
#initialize retrn value
$retrn = "?";
#loop th
Freak'n Duhh! My eyes are still blury to PHP *obviously*.
Thanks!
So $QUERY_STRING eh? I'll look that one up.
Karl
- Original Message -
From: "Rasmus Lerdorf" <[EMAIL PROTECTED]>
To: "Karl J. Stubsjoen" <[EMAIL PROTECTED]>
Cc: "PHP Ma
Should this correctly find '&' or is & and special searching character?
# looking for an & at the end
$retrn = AASIDFIFJ&
if($str{strlen($retrn)-1}=='&')
Thanks!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAI
Hello, So I think I've found 3 ways to describe the HTML Doc as "HTML".
Which one is the best?
1) Via MetTag (this was generated in Dreamweaver):
2) Print Statement at top of page:
print "Content-type: text/html\n\n";
3) Using the PHP Header command:
Hello,
I want to *read* a file into a page and not process any PHP. I'm just
reading an HTML file. I though it was simple, I thought I had it figured
out, but now when I try, I get the following error:
Fatal error: Call to unsupported or undefined function read() in
/var/www/wherever.com/betas
Hello,
Does Version 4 support either { } "squiglees" or [ ] "brackets" in this
code:
if($retrn{strlen($retrn)-1} == '&')
-or-
if($retrn[strlen($retrn)-1] == '&')
I am developing on ver 3.0 and the { } don't work in the above, but the
brackets do.
Karl
--
PHP General Mailing List (http://www
> > >Does Version 4 support either { } "squiglees" or [ ] "brackets" in this
> > >code:
> > >
> > >if($retrn{strlen($retrn)-1} == '&')
> > >-or-
> > >if($retrn[strlen($retrn)-1] == '&')
> >
> > Yes. This is a 4.x feature only. The idea is that in the long run, []
> > will no longer be supported
How could I:
How could I check to make sure a page exists before I redirect to it (a page
within my own server, but page name passed in querystring - therefore it
could be changed by client)?
Thanks!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
F
How can I check if Headers have been written to the browser?
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 list administrators, e-mail: [EMAIL PROTECTED]
Okay,
To insert data into an AS400 system (proven on Ver 4.4) you must first:
Begin Journaling for the the file to insert into
This is done by issuing the following command at the command prompt:
STRJRNPF FILE(lib/file) JRN(jrnllib/jrnlfile)
(where test is your libs and files)
Let me know ho
I' m searching a way to programmatically alternate 2 schedules each sunday
at 00:00. Schedule1 start on first sunday and seven days later, schedule2 replace
schedule1,and seven days later, schedule1 replace schedule2 etc...
Waiting...
John
Hello,
I need a little help getting started with my project (i'm new to PHP). I
need to enumerate all of the files in a folder, their name mostly. How
would I do that?
Thank you!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional com
Does anyone know how to stream information to a browser (without the client
having to hit refresh)? What do I need to get started? We want to have 2
numbers we want to display on the browser, we want these numbers to change
as the data changes in the table, but done "streaming".
* I am coding t
701 - 800 of 1448 matches
Mail list logo