which is the best way to connect to MS Access and process and request queries?
is it with odbc_*() functions? cuz I found that not that good...
. Christian Dechery (lemming)
. http://www.tanamesa.com.br
. Gaita-L Owner / Web Developer
--
PHP General Mailing List
t']=$idt[1];
$produtos_sem_tracking[$i]['gen']=$idt[2];
}
?
how can I check for an existing $produtos_sem_tracking['cod'] value for
example?
. [ Christian Dechery ]
. Webdeveloper @ T Na Mesa!
. Listmaster @ Gaita-L
. http://www.tanamesa.com.br
--
PHP General Mailing
and when it stops it comes up with
a GPF window for PHP4TS.DLL telling me that Apache caused, so it restarts
apache.
What might be causing this? How can I fix it?
. [ Christian Dechery ]
. Webdeveloper @ T Na Mesa!
. Listmaster @ Gaita-L
. http://www.tanamesa.com.br
--
PHP General Mailing List
with CGI.
. Christian Dechery (lemming)
. http://www.tanamesa.com.br
. Gaita-L Owner / Web Developer
--
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
case else print error
end select
%
/snip
IN PHP you can't do cases like that, because like in C, u must have a
constant, not a list of them.
Is there anyway to get pass this? Doing a case for each thing even tough it
does the exact same thing as 10 others is going to get a little s
this that processess nothing only run a few
"includes" (all built in C)...
but I'd like to be able now to run PHP made stuff... can't I?
. [ Christian Dechery ]
. Webdeveloper @ T Na Mesa!
. Listmaster @ Gaita-L
. http://www.tanamesa.com.br
--
PHP General Mailing List (http://w
??
. [ Christian Dechery ]
. Webdeveloper @ T Na Mesa!
. Listmaster @ Gaita-L
. http://www.tanamesa.com.br
--
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
, but that
causes the SSI and/or the PHP parser not to run.
so... what you're saying is that I can't have a PHP file #--include--'ed
in a regular server parsed html file? it doesn't work?
I can have included C and Perl stuff but not PHP?
Well I gotta tell ya, that sucks! :(
. [ Christian Dechery
something out in
Perl or C...
. Christian Dechery (lemming)
. http://www.tanamesa.com.br
. Gaita-L Owner / Web Developer
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED
rking... there are 4 "include virtual"'s on this page...
this would be the 5th... all of them work,why not this one?
________
. Christian Dechery (lemming)
. http://www.tanamesa.com.br
. Gaita-L Owner / Web Developer
--
PHP General Mailing List (http://www.php.net/)
Correct me if I'm completely out of my mind here (often I am).
But I think, I read somewhere that u can compile .php files and make
executables of them to run in the command line like programs... is this
true? How can I get it to work? WHat do I need?
. Christian
and it
will run on the command line...or just give the full path to the php.exe
file...
C:\php\bin\php.exe C:\path\to\php-script.php
oh okay... I was thinking more of a standalone file like php-script.exe...
but that should work as well...
Thanks!
. Christian Dechery (lemming
a good 'memory cleaning' so I can
be sure everything is going to get carried out??... there are steps that
I'm worried about taking over 30min to finish, like loading the main table
with 140.000 rows...
thanks...
. Christian Dechery (lemming)
. http://www.tanamesa.com.br
quot;
);
I want to, given the key (or value), it returns me the numeric index for
that ocurrence... examples:
given "one" - returns 0
given "whatever" - returns 2
given "two" - returns 1
given "four" - returns NULL or false...
anyone?
___
)...
. Christian Dechery (lemming)
. http://www.tanamesa.com.br
. Gaita-L Owner / Web Developer
--
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
Regarding my last email (about jumping the first 7 rows of an array)...
why does this code doesnt work?
for(reset($array),$count=0;$count6;next($array),$count++);
. Christian Dechery (lemming)
. http://www.tanamesa.com.br
. Gaita-L Owner / Web Developer
--
PHP
anyway... :)
. Christian Dechery (lemming)
. http://www.tanamesa.com.br
. Gaita-L Owner / Web Developer
--
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
function array_sshift($array,$number_of_elements=1)
{
for($count=0;$count$number_of_elements;$count++)
{
array_shift($array);
}
}
/pre
. Christian Dechery (lemming)
. http
t gets a little slower when I
introduce the function method.
. Christian Dechery (lemming)
. http://www.tanamesa.com.br
. Gaita-L Owner / Web Developer
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL P
er("time");
?
cuz I'll have more pages...
$time["page20"]="300";
is this going to automatically load into the session vars or I have to do
something first?
. Christian Dechery (lemming)
. http://www.tanamesa.com.br
. Gaita-L Ow
for each step (step_times) and the total running time
(already working)...
____
. Christian Dechery (lemming)
. http://www.tanamesa.com.br
. Gaita-L Owner / Web Developer
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For addit
Why I can get this to work?
I don't understand... I made another simple script that the only thing it
did was the "build array/serialize it/register the session var/ = next
page load unserialize it into array/update array/serialize it again".. and
it worked like a charm...
I'm doing the exact
y an error, and the query is executed... but returns
false... I don't consider this to be a bug... but there's certainly
something wrong about error handling in mssql_db_functions*()...
____
. Christian Dechery (lemming)
. http://www.tanamesa.com.br
. Gaita-L Owner / Web Developer
isn't there a better way to handle MS SQL error messages? I can't even
fetch them...
look at these warnings... they only show in development side, I don't want
warnings on the production site, so I turn them off with error_reporting()...
Warning: MS SQL message: There is already an object
...
maybe I didn't implement it the best way... I don't know... but I really
tried every way I can possibly imagine, and it didn't work.
thanks anyway...
. Christian Dechery (lemming)
. http://www.tanamesa.com.br
. Gaita-L Owner / Web Developer
--
PHP General Mailing List
...
what may be wrong?
. Christian Dechery (lemming)
. http://www.tanamesa.com.br
. Gaita-L Owner / Web Developer
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact
of course...
it's while loading apache that the error message appears...
restart apache/php?
-jack
Christian Dechery wrote:
I posted a message a while ago about having trouble loading php_mssql.dll
extension.
It gave me that error: 'can't find ...'. So I was stuppid enough to realize
Has anyone successfully handled MS SQL error messages?
some articles? or code? anyone?
thanks...
. Christian Dechery (lemming)
. http://www.tanamesa.com.br
. Gaita-L Owner / Web Developer
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail
step_times_array=unserialize($step_times);
$step_times_array[$step]=$total_time;
$step_times=serialize($step_times_array);
}
/pre
why doesn't $step_times gets registered correctly? it always register an
empty var...
_____
registered...
BTW... the commented echo above outputs:
step_times="a:1:{s:8:"download";d:4.8891049623489;}"
what is wrong with my code?
. Christian Dechery (lemming)
. http://www.tanamesa.com.br
. Gaita-L Owner / Web Developer
Why does system() - or any of its cousins, I've tried them all: exec(),
passthru(), backtick operator, etc - doesn't output anything when running
on a Win2k/IIS5 machine?
I ran the exact same script on a WinME/Apache, and the output was perfect
. Christian
ditional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
_
. Christian Dechery
. . Gaita-L Owner / Web Developer
. . http://www.webstyle.com.br
. . http://www.tanamesa.com.br
--
PHP General Mailing List (http://www
picky about syntax... trye being
perfectionist... like:
input type=image name=sub value= src=genre.png
onClick=set_category();
_
. Christian Dechery
. . Gaita-L Owner / Web Developer
. . http://www.webstyle.com.br
. . http://www.tanamesa.com.br
--
PHP General Mailing
) )
{
$new_array[]=$value;
}
}
at the end of this loop $new_array contains all data from $your_array with
no duplicates...
_
. Christian Dechery
. . Gaita-L Owner / Web Developer
. . http://www.webstyle.com.br
. . http://www.tanamesa.com.br
--
PHP General
... :)
_
. Christian Dechery
. . Gaita-L Owner / Web Developer
. . http://www.webstyle.com.br
. . http://www.tanamesa.com.br
--
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
it...
_
. Christian Dechery
. . Gaita-L Owner / Web Developer
. . http://www.webstyle.com.br
. . http://www.tanamesa.com.br
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED
I'm having some trouble putting on a formatting to printer script.
I've done it in ASP to print CDs tracklists... 4 per page.
Since I know nothing about Word macros, I've done it in HTML and it's
working fine... it's customizable and all..
but the problem I have is printers... since it's in
pointers?
thanks...
_
. Christian Dechery
. . Gaita-L Owner / Web Developer
. . http://www.webstyle.com.br
. . http://www.tanamesa.com.br
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail
-mail: [EMAIL PROTECTED]
_
. Christian Dechery
. . Gaita-L Owner / Web Developer
. . http://www.webstyle.com.br
. . http://www.tanamesa.com.br
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail
the list administrators, e-mail: [EMAIL PROTECTED]
_
. Christian Dechery
. . Gaita-L Owner / Web Developer
. . http://www.webstyle.com.br
. . http://www.tanamesa.com.br
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED
/intl.asp
--
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]
_
. Christian Dechery
. . Gaita-L Owner / Web Developer
I'm running with some trouble with exec(), system() and it's friends...
I have a MySQL backup script that somewhere have something like
$cmd=mysqldump .. somefile.sql;
if( !fopen(somefile.sql,r) ) { print error message };
$cmd is correct... I've copy-pasted it tons of times in the
Can you guys give me some hints of IDEs for programming PHP in Linux?
thanks
_
. Christian Dechery
. . Gaita-L Owner / Web Developer
. . http://www.webstyle.com.br
. . http://www.tanamesa.com.br
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e
on this? Is this easy to
do in PHP?
Can I get something already implemented? Some class or something?
thanks...
_
. Christian Dechery
. . Gaita-L Owner / Web Developer
. . http://www.webstyle.com.br
. . http://www.tanamesa.com.br
--
PHP General Mailing List (http://www.php.net
the function takes, etc.).
exactly what I'm looking for... it's not for me really... It's for a
friend... I develop in Win32... and use HomeSite... I tried this Komodo...
but never saw this SlickEdit... does it have a win32 version???
_
. Christian Dechery
. . Gaita-L
??
:))
_
. Christian Dechery
. . Gaita-L Owner / Web Developer
. . http://www.webstyle.com.br
. . http://www.tanamesa.com.br
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact
of the same type... and they would repeat...
any ideas?
_
. Christian Dechery
. . Gaita-L Owner / Web Developer
. . http://www.webstyle.com.br
. . http://www.tanamesa.com.br
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED
I want to know how many data can a session hold?
The number of bytes... and if possible the max size of an - let's say -
array of ints. I need this to know how many IDs I can hold in the session...
_
. Christian Dechery
. . Gaita-L Owner / Web Developer
. . http
I want to know how many data can a session (treated as cookie) can hold...
The number of bytes... and if possible the max size of an - let's say -
array of ints. I need this to know how many IDs I can hold in the session...
_
. Christian Dechery
. . Gaita-L Owner
of the same type... and they would repeat...
any ideas?
_
. Christian Dechery
. . Gaita-L Owner / Web Developer
. . http://www.webstyle.com.br
. . http://www.tanamesa.com.br
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED
array
}
}
?
the problem is why does it NEVER go into the 'else'... it seems that
the session is registered... but as soon as I refresh the page the session
is lost...
why?
_
. Christian Dechery
. . Gaita
are not accounted for in the main
script... it always returns something like 1 or 2 seconds when it actually
took 30 or 40 seconds to finish...
any ideas?
_
. Christian Dechery
. . Gaita-L Owner / Web Developer
. . http://www.webstyle.com.br
. . http://www.tanamesa.com.br
At 19:04 28/10/01 -0500, Gary wrote:
How do you get a SSI to work on a php page?
you don't need SSI if you're running PHP... just use include()...
_
. Christian Dechery
. . Gaita-L Owner / Web Developer
. . http://www.webstyle.com.br
. . http://www.tanamesa.com.br
as well work the session...
And the weirdest thing is that, as I explained in my mails, if the session
gets started elsewhere, then it works beatifully even with SSI... that's
why I think this is not an expected behaviour...
_
. Christian Dechery
. . Gaita-L Owner
what does SetCookie() returns???
I did a var_dump() on it and it gave me 'bool(true)' when in fact the
cookie was not set...
_
. Christian Dechery
. . Gaita-L Owner / Web Developer
. . http://www.webstyle.com.br
. . http://www.tanamesa.com.br
--
PHP General
]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
_
. Christian Dechery
. . Gaita-L Owner / Web Developer
. . http://www.webstyle.com.br
. . http://www.tanamesa.com.br
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL
file can't create a session, but
can use it if it is set by another page?
I don't understand...
_
. Christian Dechery
. . Gaita-L Owner / Web Developer
. . http://www.webstyle.com.br
. . http://www.tanamesa.com.br
--
PHP General Mailing List (http://www.php.net
Can someone explain to me why sessions don't work with SSI?
Let me explain my case:
I have a php script called miec.php, which uses sessions extensively. It's
a script to show products from a catalog randomly, and in the session it
keeps the products already shown, so it doesn't repeat... it
Why doesn't anyone say something about my messages probelms with sessions
and SSI?
Is it such a lame question???
_
. Christian Dechery
. . Gaita-L Owner / Web Developer
. . http://www.webstyle.com.br
. . http://www.tanamesa.com.br
--
PHP General Mailing List
At 10:33 10/11/01 -0800, you wrote:
On Saturday 10 November 2001 08:42 am, Christian Dechery wrote:
Why doesn't anyone say something about my messages probelms with sessions
and SSI?
This list gets 2000 - 3000 messages per month and you find it surprising that
not all messages get a response
included, which works, since the session is created elsewhere
(login.php).
_
. Christian Dechery
. . Gaita-L Owner / Web Developer
. . http://www.webstyle.com.br
. . http://www.tanamesa.com.br
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail
We Are All New Yorkers
/ \ rm -rf /bin/laden
On Mon, 12 Nov 2001, Christian Dechery wrote:
I've recently had a problem with sessions, and came up with a problem that
apparently has no solution...
I want to understand why EXACTLY it does't
I don't know what it is... but PHP is acting very weird today... or I am
becoming crazy... can anyone tell me which one?
I have this function:
function Upload($source_file,$source_filename,$dest_dir,$allowed_types=array())
{
global $upload_errmsg;
if( count($allowed_types) )
{
twice by accident. Are you
sure you're only calling it once? That would explain why you only get one
output with the die(), but two without it.
-Steve
On Wednesday, November 14, 2001, at 10:34 AM, Christian Dechery wrote:
I don't know what it is... but PHP is acting very weird today... or I am
]
_
. Christian Dechery
. . Gaita-L Owner / Web Developer
. . http://www.webstyle.com.br
. . http://www.tanamesa.com.br
--
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
X We Are All New Yorkers
/ \ rm -rf /bin/laden
On Mon, 12 Nov 2001, Christian Dechery wrote:
I've recently had a problem with sessions, and came up with a problem that
apparently has no solution...
I want to understand why EXACTLY
]
_
. Christian Dechery
. . Gaita-L Owner / Web Developer
. . http://www.webstyle.com.br
. . http://www.tanamesa.com.br
_
. Christian Dechery
. . Gaita-L Owner / Web Developer
. . http://www.webstyle.com.br
. . http://www.tanamesa.com.br
?
_
. Christian Dechery
. . Gaita-L Owner / Web Developer
. . http://www.webstyle.com.br
. . http://www.tanamesa.com.br
--
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
the elements array??
I can't do cb[][0].checked for example... it gives me parse error...
using the elements array is not that nice codewise...
any hints?
_
. Christian Dechery
. . Gaita-L Owner / Web Developer
. . http://www.webstyle.com.br
. . http://www.tanamesa.com.br
that... I can't see why it's so expensive...
it's all opensource... it's all free... they have phpMyAdmin as the MySQL
client...
what are we paying for here?
. Christian Dechery (lemming)
. http://www.tanamesa.com.br
. Gaita-L Owner / Web Developer
--
PHP General
on or not...
but what if somebody calls the script directly from the address bar like
this: http://server/script.php?uid=10
wouldn't this be a security problem?
. Christian Dechery (lemming)
. http://www.tanamesa.com.br
. Gaita-L Owner / Web Developer
--
PHP General
on that ? that's what i use and then register uid with
the session as well so you can use it througout your site ...
ok you've got me worried now, are there any problems with security doing it
that way
Steve
Christian Dechery [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL P
Sorry for the OT but, but I'm struggling to get my forms to have a good
validation in JavaScript.
Does anyone know a complete reference to JavaScript, like, with all
objects, it's functions, parameters and etc...
that would help a lot..
Thanks...
. Christian
leaving your current page... and the icon changes color (this
is easy with Js, but that's not the point)..
Does anyone know how they did that?
. Christian Dechery (lemming)
. http://www.tanamesa.com.br
. Gaita-L Owner / Web Developer
--
PHP General Mailing List
Is mysql's PASSWORD() function secure for storing passwords?
Or should I use one of PHP's md5() or uniqid(), or even md5(uniqid()) ???
. Christian Dechery (lemming)
. http://www.tanamesa.com.br
. Gaita-L Owner / Web Developer
--
PHP General Mailing List (http
the image, and JScript loads a new image named (image.php) this is
infact a php script which returns a image...
So it like doing
img src=myscript.php
where myscript.php will do some GD or something and return a image.
That make sense?
Bramp
- Original Message -
From: Christian Dechery [EMAIL
because
there is no certification, or proof of any kind from a respected or
well-known organization.
. Christian Dechery (lemming)
. http://www.tanamesa.com.br
. Gaita-L Owner / Web Developer
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail
are in terms of degrees or certifications.
/* Chris Lambert, CTO - [EMAIL PROTECTED]
WhiteCrown Networks - More Than White Hats
Web Application Security - www.whitecrown.net
*/
- Original Message -
From: Christian Dechery [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, August 26, 2001 4:53 PM
-
Are there any free PHP mysql database admin programs out there?
p.s: meu novo email é [EMAIL PROTECTED]
. Christian Dechery (lemming)
. http://www.tanamesa.com.br
. Gaita-L Owner / Web Developer
to help develop
a set of certification standards, though there doesn't seem to be a big
outcry for it right now from the community.
Christian Dechery wrote:
I know this is a recurrent question around here... but it's always nice
to ask:
Is there (or is it in process of...) any kind of certification
... but I think they refer to FUBAR.
Do you know what FUBAR is right?
F*CKED UP BEYOND ALL RECOGNITION.
heheh :)
p.s: meu novo email é [EMAIL PROTECTED]
. Christian Dechery (lemming)
. http://www.tanamesa.com.br
. Gaita-L Owner / Web Developer
--
PHP General Mailing List
I wrote a PHP script to send a lot of emails, some of them with lots of
bytes that comes from a URL-fopen()'ed ASP page...
the script works fine... but when a large (I don't mean huge... just some
50k worth of HTML data) email is going to be sent, PHP crashes with an
error like this error in
the
thing here? I'm I nuts?
p.s: meu novo email é [EMAIL PROTECTED]
. Christian Dechery (lemming)
. http://www.tanamesa.com.br
. Gaita-L Owner / Web Developer
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands
I must have deleted the line by accident...
$trocou=true; is right below $vetor[$j+1]=$aux;
would that make sense?
I'm not worried about the optimization here... I want to get time results
for bubblesort... and then I'm going to heap, quick, and others... It's
some college homework for my
: Christian Dechery [EMAIL PROTECTED]
To: Richard Lynch [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Friday, September 14, 2001 9:12 AM
Subject: Re: is PHP crazy, or am I?
I must have deleted the line by accident...
$trocou=true; is right below $vetor[$j+1]=$aux;
would that make sense
I need some help with an algorithm that I'm writing to build a categories
array, based on the mysql table.
the table goes by:
id_category, name_category, parent_category
and with a simple query, with a group by and after doing a little for(;;)
processing, I get the following array..
categ
way?
p.s: meu novo email é [EMAIL PROTECTED]
. Christian Dechery (lemming)
. http://www.tanamesa.com.br
. Gaita-L Owner / Web Developer
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
mail help with nasty recursive algorithm...
I'm using 5 for(;;) loops, and it took 68 lines of code (including 3 small
functions) to achieve it... it's kinda of too much, don't you think???
p.s: meu novo email é [EMAIL PROTECTED]
. Christian Dechery (lemming)
. http
us the actual code you're using, or print_r($arrayname);
/* Chris Lambert, CTO - [EMAIL PROTECTED]
WhiteCrown Networks - More Than White Hats
Web Application Security - www.whitecrown.net
*/
- Original Message -
From: Christian Dechery [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday
]
. Christian Dechery (lemming)
. http://www.tanamesa.com.br
. Gaita-L Owner / Web Developer
--
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]
..
I have problems in regex I dont know good coding and need only smmall
support Please help me :)
- Original Message -
From: Christian Dechery [EMAIL PROTECTED]
To: i_union [EMAIL PROTECTED]; Chris Lambert [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Monday, September 10, 2001 7:57 PM
I had to write my own mail() function cuz PHP's does not work in Windows
very well..
But I suck at regex and I need to get the email address from the field from
that can be something like:
$from = Christian Dechery [EMAIL PROTECTED];
so what I want is:
the string between '' and '' or the last
and I need to get the email address from the field
from
that can be something like:
$from = Christian Dechery [EMAIL PROTECTED];
so what I want is:
the string between '' and '' or the last 'word' of the 'sentence' (for
something like \Christian Dechery\ [EMAIL PROTECTED]).
thanks
and an array of char is exactly the same thing, so this kinda
confuses me.
. Christian Dechery (lemming)
. http://www.tanamesa.com.br
. Gaita-L Owner / Web Developer
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
How do I force an output to be recognized by the browser by a downloadable
text file as soon as I press the submit button?
what header(*) stuff should I add before echo-ing stuff?
thanks
. [ Christian Dechery ]
. Webdeveloper @ Tá Na Mesa!
. Listmaster @ Gaita-L
. http
,
? // file to post to
header(Content-Type: application/octet-stream);
header(Content-Disposition: attachment; filename=name.doc);
include(file.doc);
?
Wieger
Christian Dechery wrote:
How do I force an output to be recognized by the browser by a downloadable
text file as soon as I press
it is... I once saw it...
thanks
. [ Christian Dechery ]
. Webdeveloper @ Tá Na Mesa!
. Listmaster @ Gaita-L
. http://www.tanamesa.com.br
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact
all the
output generated by php to a download and instruct the browser the filename
to be saved?
Where can I get some reference to all this header stuff?
thanks
. Christian Dechery (lemming)
. http://www.tanamesa.com.br
. Gaita-L Owner / Web Developer
--
PHP General
is, the output is comming as binary... so the '\n' is not
working, instead it'comming as a one giant line with lots of weird chars
instead of '\n'... how do I force it to be in ASCII mode?
and where can I find reference on these header stuff?
. [ Christian Dechery ]
. Webdeveloper @ Tá Na Mesa
At 08:39 9/5/2001 -0500, Boget, Chris wrote:
header(Content-type: application/download);
I think you'd need to change this to:
header(Content-type: text/plain);
but I could be wrong...
and where can I find reference on these header stuff?
Not sure. I find bits and pieces in this list...
1 - 100 of 177 matches
Mail list logo