On Wed, 2004-01-21 at 19:51, Justin French wrote:
> On Thursday, January 22, 2004, at 07:10 AM, Alex Pilson wrote:
>
> > 1) FrameWork...(incredible piece of work) I have friend that is
> > working on porting it to PHP.
> > http://www.fwpro.com/
This seems to follow the same methodology as my In
On Wed, 2004-01-21 at 20:19, Chris W wrote:
> Robert Cummings wrote:
>
> >Hmmm, I don't think other programmer's sloppy coding practices are a
> >good argument for having to declare variables or against loose typing.
> >There are crappy coders in whatever languag
On Wed, 2004-01-21 at 21:37, [EMAIL PROTECTED] wrote:
> > On Wed, 2004-01-21 at 20:19, Chris W wrote:
> >> Robert Cummings wrote:
>
> May i ask how you handle your error handling Robert ? I'm considering
> moving my class error handling to pear but then it'll
On Wed, 2004-01-21 at 23:07, Joe Harman wrote:
> I am curious how much data an array can hold.. And what the pros and
> cons are.
How much memory have you allowed PHP to consume?
> Example.. I am making a testing system that will give a student a 102
> question test...
>
> The test would be gen
On Thu, 2004-01-22 at 00:52, Martin Towell wrote:
> > [EMAIL PROTECTED] wrote:
> > >>Ok i found something very interesting
> > >>, i have a session var setup to check for a groupID which is an
> > >>integer,
> > >>
> > >>if ($_SESSION['groupID']==1) { this was working, then when
> > i changed it
>
On Fri, 2004-01-23 at 12:02, Chris Shiflett wrote:
> --- Al <[EMAIL PROTECTED]> wrote:
> > I have a page that calls functions from two different include files.
> > Unfortunately, some of the functions have the same name; but are
> > slightly different.
> >
> > I know I can change the names of
On Sat, 2004-01-24 at 01:53, Hamid Hossain wrote:
> Hi,
>
> Always I have a problem that I don't know how to make my code away from the
> user interface files.
>
> I tried to use some template classes, but I did'nt like what I tired because
> some if statments are used inside the template.
>
>
hi
i know i've noticed somewhere something about how to implement a Pause in PHP -
I mean, if ie.a user inputs a wrong number, the script says "Oh no, it's
wrong", waits a few seconds and redirects her back to input form. i know i could
say to him "hit a Back button...", just wondering if somethin
).
However, if the message should bounce, it always bounces back to nobody.
When we want it to bounce back to say, rch instead. Can any offer a
possible solution here?
TIA
--
Robert Hough ([EMAIL PROTECTED])
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL
ers .= "From: $sender_name $sender_address\n";
$headers .= "X-Sender: $sender_address\n";
$headers .= "X-Mailer: $version\n";
$headers .= "Return-Path: $sender_address\n";
$headers .= "Error-To: $sender_address\n";
--
Robert Hough ([E
ot; and that works as intended. The From field also
displays correctly.
The problem happens when the message bounces. For whatever reason, if the
message bounces, it returns to nobody. Which, of course is what the web
server is running as.
--
Robert Hough ([EMAIL PROTECTED])
--
PHP Gener
essage from PHP Test Mailer v1.1.1a
From: Robert Hough <[EMAIL PROTECTED]>
X-Sender: <[EMAIL PROTECTED]>
X-Mailer: PHP Test Mailer v1.1.1a
Error-To: <[EMAIL PROTECTED]>
Content-Type: text
X-UIDL: 21fbef1b63923735e759e4f52ab267bd
Status: RO
X-Status:
X-Keywords:
X-UID: 6
--
Rober
"/usr/sbin/sendmail -t -i [EMAIL PROTECTED]";
$fd = popen($mailer, "w");
fputs($fd, "$headers");
fputs($fd, "$message");
pclose($fd);
--
Robert Hough ([EMAIL PROTECTED])
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mai
Hi, recently I was given the task to create an
application to generate xml files in order to exchange
data.
Since my knowleadge of xml is close to zero :) I also
received an english text explaining the DTD and an
example of how the file should be written.
So I got to a point where I simply shoul
Steve,
Try the ereg_replace()somthing like this:
eregi_replace($search_query, "$search_query", $row[6]);
Robert W. Collins
Web Developer II
Insight / TC Computers
www.insight.com
www.tccomputers.com
-Original Message-
From: jalist [mailto:[EMAIL PROTECTED]]
Sent: Wednesda
Thomas,
Not sure if this si what you want but it may start you in the right
direction.
";
preg_match_all( '/\S*\s?=\s?\S+[^>]/', $bob, $match );
foreach ($match[0] as $match_result) {
echo $match_result."";
}
?>
Robert W. Collins
Web Deve
Christopher,
try a regular expression somthing like this
Robert
-Original Message-
From: Christopher Allen [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 18, 2001 11:35 AM
To: php
Subject: [PHP] decimal point movement...
Greetings!
I am looking for an efficeient way to assign
to
the url where is.
How do I go about dragging back the id even though it is being created (I
suppose) while the statement is being made -- is it possible or do I have to
do something hackish?
Sorry if that's a simple problem...
Regards,
Robert Morrissey
--
PHP General Mailing List
Try this:
try:password : testusername : test");
$title = "Password";
echo "OK, you can look at this page!";
?>
-Original Message-
From: Bruno Freire [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 23, 2001 10:45 AM
To: '[EMAIL PROTECTED]'
Subject: [PHP] HELP!!! $PHP_AUTH_US
that sounds like a permissions error.
check the permissions for all of the directories and the file along your
path.
-Original Message-
From: Data Driven Design [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 26, 2001 1:04 PM
To: [EMAIL PROTECTED]
Subject: [PHP] File upload error
I ha
this is a function that I wrote to solve this problem, but it is almost
impossible to get a truly random number you can get somthing pretty close by
seeding with somthing like the time function, using the seconds since epoch
and this should be hard to duplicate.
$rand";
$lownum = "1";
$highnum
Try this:
Robert W. Collins
Web Developer II
Insight / TC Computers
www.insight.com
www.tccomputers.com
-Original Message-
From: Karl J. Stubsjoen [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 26, 2001 1:58 PM
To: PHP Mailing List
Subject: [PHP] Check for Page
How could I:
How
looks like you forgot the semi-colon (;) at the end of phpinfo();
Robert W. Collins
Web Developer II
Insight / TC Computers
www.insight.com
www.tccomputers.com
- Original Message -
From: "kaab kaoutar" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, Jan
"Ide, Jim" wrote:
>
> Hi -
>
> Is there some way I can get the name of the currently executing function?
>
> For example:
>
>
> function MyFunction () {
> echo "The currently executing function is: " . ;
> }
Solution:>
function MyFunction () {
echo "The currently execu
Hello
I tried to used PHP with autentification
I wrote script, but I had got error :
Fatal error: Call to undefined function: pam_auth() in
/usr/home/httpd/html/farm/dev/test/user.php on line 2
I read some FAQ and I found the answer:
For some reason, newer version of php4 do not always s
ing in the middle of your site.
Robert
At 10:37 AM 26/02/2001 +0545, Deependra B. Tandukar wrote:
>Greetings!
>
>Is there any equivalent code for (JavaScript) href=JavaScript:history-back(1)>Back Button in php?
>
>This works as back button on the menu bar.
>
>Looking
lower? and if yes.. how do i do that ?
You could use ping command like this:
exec("ping -c 4 TheServer",$out_arr);
...and evaluate the $out_arr to see if the ping command was successful.
Robert
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL
ms if the extension is kept ".php"?
I don't know what examples you mean, but:
the name of the included/required file in PHP does not matter. However
the best thing is always to use the extention "*.php" to make sure the
files are always going thru the PHP interpreter, even when
Federico Ragazzoni wrote:
>
> Hi all, I've a problem with my php.ini file, running JAVA classes...
> What exactly should write in php.ini?
> I've JDK in /usr/local/jdk and PHP in /usr/local/php
Would you explain us, what does (or should) php.ini have to do with
JAVA?
R
Does anyone know how to fix the following problem? I have configured php
with --with-pfpro=/usr/local and it does not complain about the header or
the library.
root@server5:/usr/local/apache/conf# ../bin/apachectl configtest
Syntax error on line 213 of /usr/local/apache1317/conf/httpd.conf:
Cann
N_STRING(PNVersion(), 1);
}
Is it just a coincidence that this is bombing out as well as the undefined
symbol...
-Bob
-Original Message-
From: Robert Covell [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 02, 2001 7:51 AM
To: [EMAIL PROTECTED]
Subject: [PHP] undefined symbol (PayFlow Pro)
Doe
TW. In you first email you wrote: "plan they are pushing is to make our
site(s) free of all GET variables".
Who are "they"?
Robert
--
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]
ng is
> > to make our site(s) free of all GET variables".
> > Who are "they"?
>
> My superiors.
I bet they have nothing better to do than to say: "What are those funny
characters next to the internet address? We don't like them. They don't
let o
Is this following due to a bug in either Payflow Pro SDK or in PHP or my
messup? It just seems to odd that the warning is for pfpro_version and then
the configtest fails because of pfpro_version. Here are the errors and code
it is using:
When making PHP
root@server5:/usr/local/phpApach
f mysql_data_seek()? Have a look in the PHP Docs.
Robert
--
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]
...
> ...
> ***
> what am I suppose to do if I also want the code to be able to deal with the case
>that no record found and redirect user to other page?
Hello,
In the PHP Manual, section MySQL, there is a description of a function
called mysql_num_rows()...
Ro
do what you're
> after
>
> Tim Ward
> Senior Systems Engineer
>
Hello,
This sulution is not very good: too many SELECTs, too much memory
usage...
Why not just use 2 Tables: Category and Links, and work with a LEFT
JOIN? Then you could get all data nee
What in tarnation is going on? Can someone help me please?
Robert Cooper
AwakeningRetreat.Net Webmaster
- Attached script below address.php -
Must Specify address type.
Click the back arrow on your browser, select a
type, and
resubmit.
h
I'm running the following to kill a session, and haven't had any problems
with it yet...
try
>session_start();
>before the if statement - otherwise it will always be FALSE...btw the
>'unset()' is redundant i think.
>
>- Original Message -
>From: "Mike Yuen" <[EMAIL PROTECTED]>
>To: "troge
()
function). Once I obtained the beta V2.11 SDK from Verisign life was good.
PHP will need to updated to support V3 prior to it being utilized.
Sincerely,
Robert T. Covell
President / Owner
Rolet Internet Services, LLC
Web: www.rolet.com
Email: [EMAIL PROTECTED]
Phone: 816.210.7145
Fax: 816.753.1952
.
Sincerely,
Robert T. Covell
President / Owner
Rolet Internet Services, LLC
Web: www.rolet.com
Email: [EMAIL PROTECTED]
Phone: 816.210.7145
Fax: 816.753.1952
-Original Message-
From: John Donagher [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 13, 2001 9:31 AM
To: Dan Harrington
Cc: [EMAIL
I did the same thing (Removed the PNVersion) and Apache seg faulted at weird
times. Now I am not a C guru so I might have done something wrong but this
solution was not reliable due to our clients utilizing a system that we were
not sure was stable.
Sincerely,
Robert T. Covell
President
end bring up the form.
Sincerely,
Robert T. Covell
President / Owner
Rolet Internet Services, LLC
Web: www.rolet.com
Email: [EMAIL PROTECTED]
Phone: 816.210.7145
Fax: 816.753.1952
-Original Message-
From: John Donagher [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 13, 2001 9:54 AM
To
So
PHP does support Payflow Pro just not the newest version, yet. You can
still utilize the same payment links and V2.11 features, but will have to
wait for PHP to support V3 for the bleeding edge stuff.
Sincerely,
Robert T. Covell
President / Owner
Rolet Internet Services, LLC
Web: www.rolet
Do you have the switches for sendmail in your path?
Our installs have: /usr/sbin/sendmail -t -i for the path information...
Sincerely,
Robert T. Covell
President / Owner
Rolet Internet Services, LLC
Web: www.rolet.com
Email: [EMAIL PROTECTED]
Phone: 816.210.7145
Fax: 816.753.1952
I've started using javapie.com. Weird name and terrible site design.
But they are cheap and provide all you're asking for below.
Their tech support is responsive. They have always responded within a day.
You have to send the a picture id to get ssh access.
>I'm looking to move from an old Web ho
Hi, I was wondering if anyone has some links about
articles, code snippets or tips regarding the use of
oracle as rdbms and php.
I have experience with mysql so I am considering the
use of an abstraction layer to access so I could
easily por existing apps.
BTW. Does anybody know If the latest 8.
I've got mysql & php running in a windows millenium
system (yes, sad, I know), and I'm running phpmyadmin 2.1.0
Anyway, I have a database with three cells of information:
item_name
item_list
item_description
Each cell contains numerous pieces of data seperated
by a ยค symbol (for exploding into
As long as you don't need domain hosting you could go to
http://members.evolt.org. They provide free hosting with MySQL and
PHP and CF.
>I am looking for some sites that host PHP. I can't really afford to
>pay for hosting space anymore, so I was wondering if there were any
>good (free) web
Jacky wrote:
>
> Hi all
> I have a form with the checkbox like this
>
> $query="select id from foo";
> $result=($query,$con);
> while ($row = mysql_fetch_array($result))
> {
>
> }
> submit button and stuffs here...
>
One possibility:
Add a hidden field in the form and write al
Hi, I've donwloaded apache_1.3.12.src.rpm from
RedHat's site and I am trying to build it.
Unfortunately it keeps giving me error
+ adding selected modules
o rewrite_module uses ConfigStart/End
disabling DBM support for mod_rewrite
(perhaps you need to add -ldbm, -lndbm or -lgdbm
t; $string = "Here is a very long string";
> $array = explode(" ", $string);
> $count = sizeof($array);
> echo $count;
Hello,
Greg, Jason asked for an _optimized_ solution.
Solution:
1. If you're using PHP>=4.02 just take the substr_count() function (see
manual).
which this extension does not. The
extension does need some work.
Sincerely,
Robert T. Covell
President / Owner
Rolet Internet Services, LLC
Web: www.rolet.com
Email: [EMAIL PROTECTED]
Phone: 816.210.7145
Fax: 816.753.1952
-Original Message-
From: Henning Kilset Pedersen [mailto:[EMAIL PROT
Is anybody reading the other posts about the work in progress being done by
John? This extra work seems pointless if it is being looked into by the PHP
development team.
Sincerely,
Robert T. Covell
President / Owner
Rolet Internet Services, LLC
Web: www.rolet.com
Email: [EMAIL PROTECTED]
Phone
e from the
database in the original form? (which'll is going to be a lot more
complicated).
Does this make sense?
Thanks for any help,
Robert Morrissey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL P
Hi, after downloading and compiling php4.0.6dev (from
cvs) I've decided to try the new "much improved" zlib
output support (already enabled in 4.0.5).
The announcement from the changelog says check the
zlib.output_compression ini.
I've searched the php.net site as well as the mailing
lists but c
Yasuo,
thanks for the reply. Yes I do have zlib support
(shows me in phpinfo()).
Sorry the stupid question but How do I check the size
of the page ?
If I access it and use save as I will have the
uncompressed version right ?
Which .ini directive did you use ?
- thanks
>>If you want to check
Hi I am developing an application which will encrypt
(using mcrypt library) some data.
Everyting is ok except the fact that I can no longer
have links (GET) passing the values.
For ex.
I used to have
a href="script.php?plaintext=foobar"
now I need to pass that foobar value encrypted.
a
href="
ked like a charm.
Any ideas why this would occur?
Sincerely,
Robert T. Covell
President / Owner
Rolet Internet Services, LLC
Web: www.rolet.com
Email: [EMAIL PROTECTED]
Phone: 816.210.7145
Fax: 816.753.1952
-Original Message-
From: Wico de Leeuw [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May
Hi, I am accessing an oracle database from PHP using
stored procedures available.
I'd like to detect when a problem occurs in order to
stop trying to fetch results. In mysql I check for
rc=0 as an error. The php doc does not tell if this
applies to oracle as well.
The code is something like th
I must support this fashion of "login" and "logout". I have never been able
to find a way to clear the browser of the username and password. Once I
combined sessions with a date and timestamp in the realm, it worked like a
charm.
Sincerely,
Robert T. Covell
President /
Hi, I have a development machine with 4.0.4pl1 which
has been used for creating a set of scripts to access
oracle (using stored procedures).
It seems to be working fine (the problems that I've
encountered seems to be related to the
oracle/procedure itself).
Last night I moved the scripts to the
/ld-linux.so.2
(0x4000)
- Thanks.
--- "Thies C. Arntzen" <[EMAIL PROTECTED]> wrote:
> On Fri, May 11, 2001 at 06:51:35AM -0700, Robert
> Mena wrote:
> > Hi, I have a development machine with 4.0.4pl1
> which
> > has been used for creating a set of script
I would check to make sure that your php installation has mysql compiled in.
Do this in phpinfo.php:
And look to see how it was compiled and if Mysql is listed there and or in
the list of valid options.
Sincerely,
Robert T. Covell
President / Owner
Rolet Internet Services, LLC
Web
for an email address and then convert them from there?
Thanks in advance,
Robert Reed ([EMAIL PROTECTED])
--
WWW -> http://www.theextreme.net
--
"I'd rather not even be than a
quot; after a while. I am
getting no error message in the log files and the session files are
being created in the tmp directory, they are empty though.
Any ideas?
How can I get some kind of hint as to what is going wrong?
thanks,
Robert
--
PHP General Mailing List (http://www.php.net/)
To un
f I
close the browser and open it again, the same thing 1-3 happens again.
Same with NS and IE!
Something is broken here!
regards,
Robert
Chris Lee wrote:
>
> calling session_register() on a var that is allready registered is asking
> for trouble. there seems to be some bug in php c
Hi all,
just for the record.found the problem.the partition was
full*blush*:O\
-Robert
--
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
Hi, I have a delphi application that uses oracle as db
server with stored procedures (running ok).
I've been trying to make a php version of such
application with no luck so far.
I've created a user to access such thing and I keep
getting the following error
Warning: OCIStmtExecute: ORA-06550:
Hi, I have a delphi application that uses oracle as db
server with stored procedures (running ok).
I've been trying to make a php version of such
application with no luck so far.
I've created a user to access such thing and I keep
getting the following error
Warning: OCIStmtExecute: ORA-06550:
Hi,
I was wondering if there is a wayto compile php with
gd support for the gif, png and jpg file types.
As far as I know gd dropped gif support while ago when
it added png.
regards,
__
Do You Yahoo!?
Send your FREE holiday greetings online!
http
Hi,
I have a script to upload/insert records in a mysql
db. I was running fine before the upgrade (php
4.0.4pl1) now it confuses the columns starting with
the column number 9.
I've attached a one line file that I used with the
scripts. the problem seems to be with strok and null
values. One of
Hi, I've recently upgraded my server to php 4.1.1 and
turned on the output compression under php.ini.
For some browsers (IE 5/5.5 so far) it made imp stop
working.
Does anybody know if this is a "limitation" of php,
imp or explorer ?
Anyone has tried that with the latest imp/horde ?
thanks.
__
Hi, how do I redirect to a different URL, e.g. as a result of an IF
condition being true. I'm basically looking for a PHP version of the ASP -
Response.Redirect("/otherpage.htm")
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands
might be a better
choose.
Robert Klinkenberg
--
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]
have
with ODBC) create an industry standard, and database vendors actively spend
time and resources to create a stable and fast interface to Microsoft
products.
By the way, you can use iODBC in PHP to access ODBC databases but it is a
bit slow for me :-(
Robert Klinkenberg
-Oorspronkelijk be
Hi, does anybody know when the strtok bug introduced
in 4.1.1 will be fixed ?
Will we have a 4.1.2 or should I try to grab a cvs
tree (assuming that it is already solved) ?
thanks.
__
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://pro
is (IMHO) a mistake.
Best regards,
Robert
--- Manuel Lemos <[EMAIL PROTECTED]> wrote:
> Hello,
>
> Robert Mena wrote:
> >
> > Hi, does anybody know when the strtok bug
> introduced
>
> After 4.0.6 .
>
> > in 4.1.1 will be fixed ?
> > Will w
there any other characters waiting to cause
the same problem that I don't know about yet?
Thanks,
Robert MacCombe
--
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 administra
our web development.
Sincerely,
Robert T. Covell
President / Owner
Rolet Internet Services, LLC
Web: www.rolet.com
Email: [EMAIL PROTECTED]
Phone: 816.471.1095
Fax: 816.471.3447
24x7: 816.210.7145
-Original Message-
From: Francesco Gallarotti [mailto:[EMAIL PROTECTED]]
Sent: Thursday, J
lemented by making $HTTP_*_VARS and $_* into
constants... forcing them to be read only.
#3 sounds like it would be annoying to implement, but would make it
easiest for end-users to use PHP, and have some nice things happen
'magically'.
--Robert
(crossposting to php.general because I'm
eady auto-globals, and you don't want them to
be used as left-hand-side values, it seems like they're very close to
acting like constants already. Just a thought. ;^)
Thanks a bunch!
--Robert
On Thu, 24 Jan 2002 16:01:24 -0600, Lars Torben Wilson wrote:
> On Thu, 2002-01-24 at 13:42
that
the best way to handle it is to treat all predefined variable arrays as
constants, since changing all of them is officially frowned upon. :^)
d) Vi is you friend. ;^)
Thanks for your response, it's interesting to hear other people's
opinions on the matter.
--Robert
On Thu, 24 Jan
Hi,
I have developed some php scripts to interact to an
oracle db using a set of predefined stored procedures
(which I did not write).
Those procedures are called either by a desktop delphi
application and my php scripts
(linux+apache+mod_php...).
I'd like to know how can I access the contents
Hi,
Ie developed some scripts to access oracle. Using my
development machine it works great.
When I switch to the production server I keep getting
Warning: OCIStmtExecute: ORA-06550: line 3, column 33:
PLS-00553: character set name is not recognized
ORA-06550: line 0, column 0: PL/SQL: Compilat
hi
i write in php about 1.5 years. from the beginning i use macromedia homesite
and i`m quite content of it. but...debugger, environment not optimized for
php developers etc. so i wanted to try zend studio, i downloaded it,
installed (w2k, i already had an apache, so i deleted what came with
insta
> Well I was hoping that article was interesting. It wasn't. I should
> have known when I saw the use of homesite as an alternative.
sure, it was just simple look at zend studio, but it made me wonder why the
tool didn`t work on my system :) [yes - i think i know what was wrong, no
need to look f
> The problems you were having with the server components of the studio
sound
> quite odd - can you elaborate on them? (probably off-list, it's best if
> you could submit a bug report about it through zend.com/store/pickup.php,
> evaluation support).
>
> This is water under the bridge now, but yo
gt; "true"
),
"Mozilla" => array (
0 => "true"
),
);
if ($uaarray[$name][$major]) {
return "1";
}
}
?>
nce failed");
>
> And I am getting the "die()" error message. $ff_counter is 0, the first
> iteration of a for loop.
>
> Can anyone see a problem with this, or at least confirm that I'm not
> crazy?
Well you don't
This nifty code (taken from PHP Cookbook) sends an email with a file
"attached" in-line. The text from the attached file appears within the
body of the email. I need to send attached files that are not in-line,
but, rather, come as attached files that the user views outside of their
email browse
goes exactly.
James
-Original Message-
From: ROBERT MCPEAK [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 16, 2002 8:46 AM
To: [EMAIL PROTECTED]
Subject: [PHP] email attachments
This nifty code (taken from PHP Cookbook) sends an email with a file
"attached" in-line. The text
I'm collecting data with from textarea inputs. The user may enter a
linebreak with the return key, or a tab, etc. I then write this data to
a mySQL table, formatting the data with addslashes().
I then output the data to a text file using a "select into file"
statement. When I import the file i
How do I use PHP to remove certain characters from form input?
Specifically, how to I ensure that form data does not contain any
newline/linebreak or tab characters?
Thanks!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
as a PHP file extension.
Cheers,
Rob.
--
.-----.
| Robert Cummings |
:-`.
| Webdeployer - Chief PHP and Java Programmer |
:--:
| Mail : mailto:[EMAIL PROTECTED] |
| Phone : (613)
gt; echo "Last name: ";
> echo ($row["lname"]);
> echo "Date: ";
> echo ($row["date"]);
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://ww
The code below very nicely sends an email attachment, but, the name of
the attachment appears as "Part.000," not the original filename of the
attached file.
How do I set the filename of the attachment? I'd like it to be
something nice, like "yourfileattachment.txt" or something, not
"Part.000."
ng to accomplish in simpler terms? :-)
I second that request *heh*!
Cheers
Rob.
--
.-.
| Robert Cummings |
:-`.
| Webdeployer - Chief PHP and Java Programmer |
:--:
| Mail : mailto:[EMAIL PROT
If so.. Then
> there you go!
Ah... Page Pillaging ;)
Cheers,
Rob.
--
.-.
| Robert Cummings |
:-`.
| Webdeployer - Chief PHP and Java Programmer |
:--:
| Mail : mailto:[EMAIL PRO
ly and hardly accurately... but good enough for useful purposes:
mysql_query( 'SELECT last_insert_id()' );
if( ($row = mysql_fetch_assoc()) )
{
$id = $row['last_insert_id()'];
}
Cheers,
Rob.
--
.-.
| Robert Cummings |
:-`
601 - 700 of 5010 matches
Mail list logo