test
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello,
I wonder how much I can include files?
does it matter if the size sum of the source code included are above 1MB ?
thanks,
elias
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
test ok!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello,
1. you must have a frame system with two frames: frame1 called fileslist,
fametwo called: preview
when you build the files list do like this:
$filename";
}
?>
then declare a javascript function as:
function display(filename)
{
window.frames['preview'].location = filename;
}
should wo
try:
function_exists('mysql_query') <- if TRUE then MySql is supported, etc...
"Peter" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi,
>
> I need to use extension_loaded() to try and detect which database
interface(s) are installed on some servers. Nowh
try www.hotscripts.com there are lots of scripts as your request.
"Craig" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> i am using dreamweaver mx and want to acheive the following
>
> 9:00 task 1
> 9:30 task 2
> 10:00 task 3
> task 4
>
Hello,
Can I get the starting position of my string occurence when using any
regexps searching functions in PHP ?
for example:
$mem='this is a test';
preg_match('/test/', ...) should return me somehow: 10
Thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http:
Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
Delivered-To: mailing list [EMAIL PROTECTED]
Received1: (qmail 60843 invoked from network); 25 Jul 2002 10:36:29 -
Received: from unknown (HELO parker.comology.com) (213.187.218.7)
by pb1.pair.com with SMTP; 25 Jul 2002 10:36:29 -
Re
"Alexander Kuznetsov" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hello lallous,
>
> Thursday, July 25, 2002, 3:40:32 PM, you wrote:
>
> l> Hello,
>
> l> Can I get the starting position of my string occurence when u
insert into table(imagefield) values(load_file('/path/to/image.jpg'))
i remember that worked for me.
//elias
"Rija" <[EMAIL PROTECTED]> wrote in message
001501c231f5$72337a40$3d00a8c0@workelp3">news:001501c231f5$72337a40$3d00a8c0@workelp3...
I want to store image data into mysql table using BLO
Yes, I've done it before too...but I saw some other libraries(in other
programming langs) that has such features...
"Justin French" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> on 25/07/02 11:05 PM, lallous ([EMAIL PROTECTED]
You can't download a script when it is being parsed.
If it is not going to be parsed you can download it as text.
as for php.net , they have got a button on their site called: showsource
click it and have the source of any page you want,
"Apollo" <[EMAIL PROTECTED]> wrote in message
[EMAIL PR
you have to add:
session_start()
in your second file.
"Donpro" <[EMAIL PROTECTED]> wrote in message
005001c234df$fe6e7b80$[EMAIL PROTECTED]">news:005001c234df$fe6e7b80$[EMAIL PROTECTED]...
> Hi,
>
> I have a form that calls a PHP script which sets a session variable and
> redirects to anopther UR
you can pass an unlimited number of variable through the array()
constructor.
as:
data_interface(array($table1, $table2, $table3))
you can use an Array manipulation functions for that order too.
good luck,
"Mathieu Dumoulin" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL
No matter how much you compress you'll always come across the size grow
problem.
try RAR (www.rarsoft.com) execute it from PHP when necessary.
good luck,
"Julio Nobrega" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi all,
>
> I am serializing every ge
if you're using Apache, try creating an .htaccess file with this line in it:
php_value magic_quotes_gpc 1
"Monty" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> If someone enters this into a field...
>
>New York "City"
>
> and I need to re-display it in
http://www.helloworld.com\n
Hello world! ftp://ftp.server.com\n
Hello world www.helloworld.com";
// code starts here
$mem = preg_replace ("/\s+([http:|ftp:]{0,1}\S+\.\S+)/me", "' \\1'
: 'http://\\1\";>http://\\1')", $mem);
print ($mem);
?>
good luck,
"Jesse Lawrence" <[EMAIL PROTECTED]> w
www.phpbeginner.com
http://www.zend.com/zend/tut/
.
.
.
"Paul Dionne" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Is there a PHP counterpart to this site: http://www.4GuysFromRolla.com/
>
> I always thought it was a great resource, easy to use, and full of
You can save the answers in sessions or cookies and then insert them all in
one bunch.
Elias,
"Tyler Durdin" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I have a DB that will take answers to an 82 question survey, but i have
the
> survey divided into 4 html
Save all the entries somewhere programmatically,
then do DELETE * FROM tablename;
re insert all the entries (of course do not enter the ID field, cause it
will be auto assigned).
gl,
"Thomas Edison Jr." <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Glory!
>
Well, you can do something like:
SELECT * FROM tablename
ORDER BY fieldname [ASC|DESC]
=> [ASC|DESC] optional, put either of theses without the brackets.
//Elias.
"Joel Colombo" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> This is a mysql question, cause
Even more,
$fullname = "{$session['f_name']} {$session['l_name']}";
even
$fullname = sprintf("%s %s", $session["f_name"], $session['l_name']);
etc
"Mantas Kriauciunas" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hey php-general,
>
> is there s
Lots of pay sites allow you to send SMS programmatically...
check for example www.smsxchange.com
"Rija" <[EMAIL PROTECTED]> wrote in message
035c01c2383d$b39df7f0$3d00a8c0@workelp3">news:035c01c2383d$b39df7f0$3d00a8c0@workelp3...
Hi all,
I'm a newbie, and I'd like some advice, and I don't have
Yes, the header can contain this:
$mailheader="Bcc: [EMAIL PROTECTED]\r\nTo: [EMAIL PROTECTED]";
Elias,
"Carlos Fernando Scheidecker Antunes" <[EMAIL PROTECTED]> wrote in
message 012301c23874$982a5c70$93505ad1@Nando0">news:012301c23874$982a5c70$93505ad1@Nando0...
Hello all,
Just a question abou
Hello when I extended a class and overwrite a function, can i after
overwriting that function call it so it does what it used to do?
for example in Delphi I say:
procedure TMyExtendedClass.Proc1;
begin
// do new stuff here
inherited; // calls the TMyClass.Proc1;
end;
Elias
--
PHP General M
]*>)/i', '\1\2\3', '');
?>
Elias,
"Electroteque" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> hi how is it possible to strip quotes from an image tag ?
> i need
>
>
> to look like
>
>
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
that won't really work if he used the ALT attribute too:
"David Robley" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> In article <[EMAIL PROTECTED]>,
> [EMAIL PROTECTED] says...
> > hi how is it possible to strip quotes from an image tag ?
> > i need
> >
>
hmm!
1)Can you show the code @ line 36 if possible
2)try to escape the "\" (replace every \ with \\)
"Brian McGarvie" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I have a problem with DOMXML...
>
> I installed it and it is showing up in a phpinfo() script
if dotest.php has got the code, do this:
echo eval(join('', file('dotest.php'));
"Bas Jobsen" <[EMAIL PROTECTED]> wrote in message
02073113582400.32156@bjobsen">news:02073113582400.32156@bjobsen...
> Hello,
>
> i have
> /include/dotest.php:
> function dotest() {echo 'test';}
> ?>
>
> and test
NEWSTRING = preg_replace( array(/WHAT TO SEARCH FOR ARRAY/), array(/WHAT TO
REPLACE WITH ARRAY/), STRING)
"Mike" <[EMAIL PROTECTED]> wrote in message
007201c23891$4fee8400$[EMAIL PROTECTED]">news:007201c23891$4fee8400$[EMAIL PROTECTED]...
> Heya,
> I was just wondering If there is a more elegant
I agree with Justin!
Probably your best solution is to write your own mini script and write an
interpreter for it!
Elias
"Justin French" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I'm pretty sure you can use eval() on a string, but tread with caution,
and
see: http://lgwm.org/trap.htm
try to use the same mechanism.
Elias
"Petre" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> HI
> Is there a way I can disable the client's browser back button, forcing
> them to use the navigation I built into the page?
> Ideally
try str_replace()
or preg_replace()
Elias,
"Nick Wilson" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Hi everyone,
>
> I break out in a cold sweat just thinking about regex, so I thought I'd
> ask you if t
have you tried:
http://www.hostrix.com
?
//Elias
"Mantas Kriauciunas" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hey php-general,
>
> i want to buy hosting. but i can't find good one for me. maybe
> someone could point some links. but this is what i
In your function do this:
> function WriteNewArticle()
> {
GLOBAL $PHP_SELF;
...
}
//Elias
"JüRgen" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hello!
>
> Could someone please tell me why i get the following Notice Message
>
> Notice: Undefined variable:
even on old versions of PHP,
he can then just use: $GLOBALS['PHP_SELF'] w/o worrying about the Global
keyword!
Elias
"John Holmes" <[EMAIL PROTECTED]> wrote in message
001001c23a1e$601f5050$b402a8c0@mango">news:001001c23a1e$601f5050$b402a8c0@mango...
> Could someone please tell me why i get the f
do this:
$op = isset($_GET['op']) && !empty($_GET['op']) ? $_GET['op'] : '';
"JüRgen" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> It's me again, i don't mean to be a bugger, but i really like to learn as
> much as possible, that's why i ask (or will ask s
I have this:
//file1.php
now lib1.php:
If i run file1.php ->includes lib1.php -> fails to include helper.php ! !
how can i solve that?
p.s: currently, i'm chdir()ing to the ../libs path, then i return to current
dir...
my code cannot make use of Apache's help. (like setting the include path
So...
Is this equivalent to Zend Encoder?
Elias
"Manuel Lemos" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hello,
>
> On 08/01/2002 01:58 PM, Yc Nyon wrote:
> > Is there any method to encrypt PHP files.
>
> Use bcompiler which is free and is part of PEAR/PE
have you searched hotscripts.com ?
"Shane" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Anyone have a favorite Calendar script out there they would like to share?
- NorthBayShane
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: ht
D. Budiardja" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
On Friday 02 August 2002 10:02 am, lallous wrote:
> I have this:
> //file1.php
> include('../libs/lib1.php');
> ?>
> now lib1.php:
> include ('hel
yes, true!
try this patch:
> if (strcmp($name->firstName, "homer") == 0) {
> echo "changing homer to marge";
> $name->firstName = "marge";
$names[key($names)]->firstName = "marge";
good luck,
Elias
"Jesse Vitrone" <[EMAIL PROTECTED]> wrot
I have wrote this function:
function issne($var)
{
return isset($var) && !empty($var) ? true : false;
}
which can be called as: if (issne(&$mightbeundefinedvariable)) echo "using
this variable";
is there is any builtin function that does that? (one function call).
//Elias
--
PHP Gene
tions" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> On Fri, Aug 02, 2002 at 04:48:17PM +0200, lallous wrote:
> >
> > function issne($var)
> > {
> >return isset($var) && !empty($var) ? true : false;
> >
any windows version of this product?
"Manuel Lemos" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hello,
>
> On 08/02/2002 11:06 AM, Lallous wrote:
> > So...
> > Is this equivalent to Zend Encoder?
>
> No
_ALL) oR error_reporting(2047), but i have
never got any errors when just use empty()
to determine whether a variable is set.
If the variable is: 0, null, not set or an empty string.
Then the empty() will return true.
It's unnecessary to call isset() first.
- Original Message -
From:
try to check if a session is session or not via:
session_is_registered()
Elias
"Monty" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I have PHP 4.2.2 with register_globals=off.
>
> It seems like session vars stored in $_SESSION[] aren't visible to
> functi
this can be done through many ways:
1. serialization: serialize() the array and then send it as a string,
deserialize it back in form2
2. join the arrays with a seperator and send as one string, and split it
back in form2
3. use hidden fields with same name whose name is similar too: hiddenfield[
Personally I wouldn't store BIG files (like .mp3) into the database.
If you insist checkout the mysql LOAD_FILE()
Elias
"Danny" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> hi,
>
> I already posted this message but the time on my computer was wrong (26/07
;extension=php_pdf.dll
you have to uncomment that line above inside php.ini
Elias
"Brian McGarvie" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> OK Help
>
> I always seem to have trouble installing extensions... what am I doing
> wrong? (trying to get P
oh well,
it is done via javascript:
existingSelectBox[existingSelectBox.length] = new Option("display text",
"item value", false);
replace the "display text" , "item value" from the popup's selected field
value/text
good luck,
"Wakan" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">
As you can see that every Option (parameter) when calling curl_Setopt
requires a different mixed value format.
where can i find a full description of how to use each of curl's options ?
I mainly want to login to a page via curl
have curl maintain the cookies
post some fields while logged in
the
I agree with the flush() solution.
In addition, output a javascript code to update the display in the
browser...
for example:
documeny.theform.progressPercent.value++
Elias
"Tom Kohnen" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi!
> Well i suppose flush
Yes, PHP support indexing by strings and not only numbers/indexes.
$myarray['elias'] = 'PHP rulez!';
echo $myarray['elias'];
"Christian Ista" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hello,
>
> In some language (like Java, C#, ...) you can find a hasht
you can use isset()
better grab a PHP starter document or tutorial.
Elias
"Christian Ista" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hello,
>
> Could you tell me why on PHP 4.2.2 this code work
>
>switch ($_GET['fuseaction'])
> {
> case 0:
>
try to put any code inside the new class' constructor part,
-> move the this code:
> $DBQuery = new DBQueries; <--- this
> is line 134
> $DBQuery->attrib["type"] = "select";
> $DBQuery->attrib["query"] = "SELECT ID_Secpage, P
checkout:
opendir()
readdir()
fstat()
closedir()
Elias
"Electroteque" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> hi there i was wondering how i could fopen a directory and then sort the
> files by date modified is there a way ?
>
>
--
PHP General Mail
give this query:
SELECT
table_routing.id AS routeid,
table_pricing.units AS price,
table_routing.providerAS providerid,
table_country.nameAS countryname,
table_country.id AS country
Afaik, the session will die automatically when IE gets closed.
Or at least the cookie that links to that session.
Elias
"Christian Ista" <[EMAIL PROTECTED]> wrote in message
000101c24384$442ab9b0$c000a8c0@p3portable">news:000101c24384$442ab9b0$c000a8c0@p3portable...
> Hello,
>
> Is it possible t
hmmmwhat are you missing?
globals $a and $b are not defined!
try to set error reporting to E_ALL and try running your code again.
Elias
"Tim Stoop" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi there,
>
> I'm forgetting something, but I can't seem t
preg_match('!]+>(.*)!Uis',$str,$regs[1]);
$everything_between_divs = $regs[1];
when calling preg_match just pass $regs as param and not $regs[1]
Elias
<[EMAIL PROTECTED]> wrote in message
000101c244c9$08401d50$86a96518@jumpy">news:000101c244c9$08401d50$86a96518@jumpy...
> Hi, I hope you can hel
by simple ways, you can do that:
$query = urlencode("your query string")
$result_string = join('', file(http://www.google.com/search?q=$query));
Elias
"Henry" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi all
>
> I would like to be able to get the resul
How and where can I add an alias and associate PHP with that alias?
Elias
"Bogdan Stancescu" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> You can set up php to run from console if it doesn't already, and add an
> alias to your mail server ("stocks") which w
one of the solutions is not using fopen() instead use another class that is
able to post to pages and retrieve them.
check phpclasses.org
"Dallas Thunder" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> How do I customize the User-Agent when using fopen() or
ve gone too far with your system.)
>
> Miles Thompson
>
> At 02:15 PM 8/14/2002 +0200, lallous wrote:
> >give this query:
> >
> > SELECT
> > table_routing.id AS routeid,
> > table_pricing.units AS pri
This script will output 'testa.gif'
now how can i make it produce 'test1.gif' ?
if i replace the: '\1a\2' with '\11\2' it will understand to replace with
occurence number 11 !
How can i escape the 2nd '1' so it is considered as a string an not another
number.
Elias
--
PHP General Mailing
L PROTECTED]">news:[EMAIL PROTECTED]...
> On Friday 16 August 2002 19:49, lallous wrote:
> > > $fn = 'test.gif';
> >
> > echo preg_replace('/(.+?)(\..+?)/', '\1a\2', $fn);
> >
> > ?>
> >
> > This script will
r all extension,
>
> try this:
> echo preg_replace('/(\..+?)/', '1$1', $fn);
>
> Lallous wrote:
> > > $fn = 'test.gif';
> >
> > echo preg_replace('/(.+?)(\..+?)/', '\1a\2', $fn);
> >
> > ?>
> >
&g
can do this:
$array = array('apple', 'pear', 'orange', 'apricot');
$array = array_flip($array);
$keyword = 'orange';
echo "found '$orange' @ index:" . $array[$keyword];
Don't use this method though! It makes your program slow!
Elias
"Tim Fountain" <[EMAIL PROTECTED]> wrote in message
[EMAI
Hello Rasmus,
Now that the topic has been brought,
How much long will the script keep running after the redirection request has
been made?
Doesn't that behaviour depend from browser to browser ?
Thanks,
Elias
"Rasmus Lerdorf" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EM
I feel like the request being sent is erroneous.
it was:
fputs($fp,"GET/scripts/online.dll?icq=$uin&img=5HTTP/1.0\n\n");
It should be:
fputs($fp,"GET /scripts/online.dll?icq=$uin&img=5 HTTP/1.0\n\n");
And beside that it seems it is an outdated URL
Elias
"Justin French" <[EMA
Try to post it via other than CURL,
http://Sloppycode.net and search for clsHtmlSource.php
Good luck,
Elias
"Samantha Savvakis" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> HI,
>
> I'm using the cURL binary to perform a HTTP POST to a web page. I am
sendin
$str = str_pad('', 254, 'A');
"Saci" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> In ASP I use the expression myvar = string(254,"A")
>
> to have a var filled with 254 characters 'A'
>
> What is the similar one in PHP?
>
>
>
--
PHP General Mailing Li
even more, if you want to use curl...
I remember that curl can take post data from an input file, so dump the
$strXML to a temp file then supply that file to curl.
good luck,
"Samantha Savvakis" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> HI,
>
> I'm using
refer to:
string ini_set ( string varname, string newvalue)
"Henry" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hello All,
>
> Is it possible to change the include path when a script is runing without
> having to change the php.ini file?
>
> TIA
>
> Henry
>
tag does not need a closing tag, therefore you don't write .
Now tags are used to make the document compatible with XHTML,
XML ...
"Victor" <[EMAIL PROTECTED]> wrote in message
01c25272$357e6360$a3a96518@jumpy">news:01c25272$357e6360$a3a96518@jumpy...
> When I learned html it was alway
Hello Ivan,
Don't set a value for that tag!
echo "$faqcats";
no need to "name" the tag too, setting the value will be enough.
when you submit your form, faqbycat.php will receive $selcategoryid as the
user chose from that select list.
Elias,
"Ivan Carey" <[EMAIL PROTECTED]>
try to:
var_dump($row[24])
and see what happens?
it might be that the "Y" is stored as lowercase in MySql's table.
Elias
"David Banning" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> if I set test = "Y";
> then
>
> if ($test == "Y") {echo ("it matches");}
>
>
How and where are you spitting out the text?
If to HTML output, the use the nl2br(). or spit between tags.
Elias
"Royw" <[EMAIL PROTECTED]> wrote in message
00a301c25336$9815cc60$[EMAIL PROTECTED]">news:00a301c25336$9815cc60$[EMAIL PROTECTED]...
> I have a script which takes a memo field and st
you can also join() the elements and pass as a single string, then explode()
the elements back again.
Elias
"Paul Maine" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Is it possible to pass an array in a form post? If so, how do I reference
> the array on the
This script is not mine, but I modified it so that it can work with any form
field...
take a look at the sources:
http://lgwm.org/ozone/calcall.htm
Good luck.
"Adi" <[EMAIL PROTECTED]> wrote in message
001701c253f3$5ce58820$9600a8c0@adi">news:001701c253f3$5ce58820$9600a8c0@adi...
Hi,
There are
Do you have SSL library installed? check that PHPINFO() i guess.
You can also try to run curl() (if they have SSL support).
Otherwise, It will be hard to implement SSL from pure PHP sockets functions.
Elias
"Radu Manole" <[EMAIL PROTECTED]> wrote in message
001401c25404$a52baae0$[EMAIL PROTEC
try
www.ozoneasylum.com
Elias
"Christopher J. Crane" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Does anyone know of a Javascript forum like this one that I can post a
> question to?
>
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscrib
if you have an array in javascript:
array1 = [1,2,3,4,5,6,7,8,'test'];
etc...
you can join it in JavaScript to make it a one string as:
array1 = array1.join('|');
then split in PHP to make it back an array:
good luck,
"Kale" <[EMAIL PROTECTED]> wrote in message
002c01c254cc$fe8eace0$7800a8c
showsource.php:
Good luck,
"Roman Duriancik" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> How I show in IE source code of html page with php ?
>
>
> roman
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
I think it is also good to fetch $mem as:
$fp = fopen('index.htm', 'r');
$mem = fread($fp, filesize('index.htm'));
fclose($fp);
that will keep index.htm formatted as is.
"Adrian Murphy" <[EMAIL PROTECTED]> wrote in message
001b01c2559f$aa8f3c30$1a8f43d9@ADE2">news:001b01c2559f$aa8f3c30$1a8f43d9
str_replace()
"Meltem Demirkus" <[EMAIL PROTECTED]> wrote in message
001201c255a4$6253ece0$5583@hiborya">news:001201c255a4$6253ece0$5583@hiborya...
>
>
> Hi,
>
> is there any function which removes white spaces inse a string?
>
> thanks
>
>
>
>
--
PHP General Mailing List (http://www.
Isn't the gmdate() supposed to return the same value when run from two
different timezones?
I run it on GMT+2 system and EDT system, and I get 1 hour difference,
please advise.
Elias
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
$mem = '
';
if (preg_match('//is', $mem, $result))
{
var_dump($result);
}
good luck,
"Bård tommy nilsen" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
>
> Hello
>
>
> I have a string with the html source, but want to fetch only some
> Of the code ...
>
t; The server needs to be set up correctly - it needs to know what time
> zone it is in and if the BIOS time is GMT or local.
>
> lallous wrote:
>
> >Isn't the gmdate() supposed to return the same value when run from two
> >different timezones?
> >
> >
> >I ru
e return values from these
> two servers.
>
> -Naintara
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]
> t]On Behalf Of lallous
> Sent: Friday, September 06, 2002 8:55 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [PHP] gmdate()
>
>
Try this:
Elias
"Henry" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi All,
>
> I suspect this is a commonly asked question but; how do I generate a CSV
> files on the fly and get the browser to download it.
>
> Do I actually need to generate a file or c
Hi,
Try to learn many things from the test code i created below:
http://lgwm.org/ozone/dynatable.htm
Good luck,
Elias
"Roger Lewis" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> The Situation:
>
> I'm trying to create a pair of dynamic dropdown boxes wher
try this:
exec('convert picture.jpg -font Arial-Bold -pointsize 20 -fill red -gravity
southeast -draw "text 10,10 \'my text to add to picture\'"
text-overlay.jpg');
when you start with a single quote -> you have to end with a single quote
while escaping (using "\") all its occurences in the use
I use JavaScript cookie to accomplish what you're doing in your case:
function setCookie(name, value, expires, path, domain, secure) {
var curCookie = name + "=" + escape(value) +
((expires) ? "; expires=" + expires.toGMTString() : "") +
((path) ? "; path=" + path : "") +
((d
try this:
if (empty(trim($_POST[new_password1])))
{
echo 'Empty!!!';
}
"Meltem Demirkus" <[EMAIL PROTECTED]> wrote in message
001701c25a2c$4758d4a0$5583@hiborya">news:001701c25a2c$4758d4a0$5583@hiborya...
> Hi,
> I want to understand what is wrong with this code?I am trying to
understan
Hello Chad,
I started PHP from a book.
I believe a book is a good way to start as it organized and well written to
make sure you're progressing chapter by chapter.
After that, I read articles and tutorials as I needed to expand my skills.
just my 2cents,
Elias
"Chad Winger" <[EMAIL PROTECTED]>
Hello,
1)probably you don't have CURL extension enabled in your php.ini file? try
to open php.ini and search for CURL.
2)to achieve a POST via PHP code, look at www.phpclasses.org
Elias,
"Geoff Lists" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi,
> I am
t; > warning message..
> >
> > if($_POST[new_password1] == " ")
> >
> > echo "empty input";
>
> And as final addition, you probably have to use
>
> $_POST["new_password1"]
>
> Besides that, I would use the form of Lal
Yes, you're right about that point since the seed in most cases is computed
from system time => increasing probability of having same number @ the same
request time...
you can change the seed with the time() too (not all days are the same).
hope to hear others' opinions too.
Elias
"Leif K-Brook
1 - 100 of 131 matches
Mail list logo