Hi!
sorry for my impudence :)
But may be you will be interesting in not cool CMS :) - elementalSiteMaker
I have made it in Object-Oriented style, i.e. more interesting are
code-inside :)
http://www.elemental-sm.by.ru
Thanks
Ilya
ps: I had some troubles with generalization (may needed new PHP4.
Alberto Brea wrote:
Dear list,
My home page is index.html, that doesn't run PHP.
I also have index.php which shows the same content with PHP.
Can I do to automatically redirect a visitor from index.html to index.php?
TIA
Alberto
maybe you should just delete index.html, and index.php will be you
I realize this should be about the simplest thing in the world to do,
but for this reason or that it's not working...
I'm using PHP version 4.2.3
Whether I have a negative number in an array, for example:
$myArray["ID"] = -2
Or the number comes from the database, for example:
$row["id"] = -2
Please provide a complete test script. Are you perhaps not realizing that
array indices along with all variables in PHP are case sensitive?
$row["ID"] and $row["id"] are not the same thing.
The trivial test of your example:
$myArray["id"] = -2;
if ($myArray["id"] < 0) echo "Negat
Hi Rasmus:
Yes, I'm totally aware of case sensitivity...and basically the script
you wrote here is exactly what I'm trying to doing. This is a problem
I've been having with several scripts...always when the number is
negative. I've also echoed my variables just to make sure they are in
fact
Well, I just tried your test script and that works just as it should, so
I must be having some other issue. But that still doesn't explain why I
can print out the results of $row["dir_id"] and it shows it being -2,
yet my script (as printed in the last email) never makes it to the
correct cond
Is it possible that the value is actually " -2" (with the space)?
Robert Samuel White wrote:
Well, I just tried your test script and that works just as it should,
so I must be having some other issue. But that still doesn't explain
why I can print out the results of $row["dir_id"] and it show
Okay, I'm an idiot. It *was* making it to the statement, but the row_id
in the table matrix_structure_routes are actually positive numbers, so
when it gets to that point I need to use the absolute value. The reason
for using the negative and postive counterparts are to determine which
type of
I am trying to compile PHP 4.3.0 with GD and also with-png,with-jpg
and with-freetype. I have installed both png and jpg from a tar file
but know mater what I do PHP configure stops with and error. here is
the error I keep getting.
checking for GD support... yes
checking for the location of libjp
On Thursday 06 February 2003 17:47, [EMAIL PROTECTED] wrote:
> I am trying to compile PHP 4.3.0 with GD and also with-png,with-jpg
> and with-freetype. I have installed both png and jpg from a tar file
> but know mater what I do PHP configure stops with and error. here is
> the error I keep getting
This one time, at band camp,
[EMAIL PROTECTED] wrote:
> configure: error: libjpeg.(a|so) not found.
Install libjpeg
Kevin
--
__
(_ \
_) )
| / / _ ) / _ | / ___) / _ )
| | ( (/ /
Hello Jason,
I know that is what it means and I do know where libjpeg.so and
libjpeg.a are on the server. I also have pointed the configuration to
where they are with this --with-jpeg-dir=/usr/local/bin
but no mater what I do it still can not find them.and keeps giving me
the error configure: erro
Hi,
i've written a secure PHP login script which will allow users to login to a
directory such as this:
smezone.com/members/index.php
however, how do I restrict people from accessing HTML files in that
directory (which they can easily do so by typing the URL into their
browser), such as:
smezon
Hello Kevin,
It is installed from a tar file
Thursday, February 6, 2003, 2:12:15 AM, you wrote:
KW> This one time, at band camp,
KW> [EMAIL PROTECTED] wrote:
>> configure: error: libjpeg.(a|so) not found.
KW> Install libjpeg
KW> Kevin
KW> --
KW> __
KW>
> I know that is what it means and I do know where libjpeg.so and
> libjpeg.a are on the server. I also have pointed the configuration to
> where they are with this --with-jpeg-dir=/usr/local/bin
> but no mater what I do it still can not find them.and keeps giving me
> the error configure: error:
On Thursday 06 February 2003 18:15, [EMAIL PROTECTED] wrote:
> I know that is what it means and I do know where libjpeg.so and
> libjpeg.a are on the server. I also have pointed the configuration to
> where they are with this --with-jpeg-dir=/usr/local/bin
> but no mater what I do it still can not
On Thursday 06 February 2003 18:09, Shams wrote:
> i've written a secure PHP login script which will allow users to login to a
> directory such as this:
>
> smezone.com/members/index.php
>
> however, how do I restrict people from accessing HTML files in that
> directory (which they can easily do s
Hello Jason,
/usr/lib/libjpeg.so
Thursday, February 6, 2003, 2:19:36 AM, you wrote:
JW> On Thursday 06 February 2003 18:15, [EMAIL PROTECTED] wrote:
>> I know that is what it means and I do know where libjpeg.so and
>> libjpeg.a are on the server. I also have pointed the configuration to
>> w
On Thursday 06 February 2003 18:37, [EMAIL PROTECTED] wrote:
> /usr/lib/libjpeg.so
Then use:
--with-jpeg-dir=/usr
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
Hello Jason,
That worked an got me through the configuration but now after doing a
make I get this error. What do I do to fix this.
/gd_jpeg.c -o ext/gd/libgd/gd_jpeg.lo
/home/tmp/php-4.3.0/ext/gd/libgd/gd_jpeg.c:34: jpeglib.h: No such file or directory
/home/tmp/php-4.3.0/ext/gd/libgd/gd_jpeg.c:3
I have a quite complex search form where I have multi select drop down menu..the form
can be seen at http://www.bangladeshimatch.com/advance_search.php.
I can pass the array variables from the form to another page to process the form
without any problem, but when I try to pass the same array vari
On Thursday 06 February 2003 19:15, [EMAIL PROTECTED] wrote:
> That worked an got me through the configuration but now after doing a
> make I get this error. What do I do to fix this.
>
> /gd_jpeg.c -o ext/gd/libgd/gd_jpeg.lo
> /home/tmp/php-4.3.0/ext/gd/libgd/gd_jpeg.c:34: jpeglib.h: No such file
Hello all,
I'm trying to convert some images held as base64-encoded text files back
into images, using a form to paste the text into, but having no luck.
I can't tell whether the decoding is failing or whether I'm unable to output
the final image. I'm sending the correct headers through, that muc
On Thursday 06 February 2003 19:26, PHP wrote:
> I have a quite complex search form where I have multi select drop down
> menu..the form can be seen at
> http://www.bangladeshimatch.com/advance_search.php. I can pass the array
> variables from the form to another page to process the form without an
Dear Supportteam
Im Runing a Apache Webserver under Debian sid (testing). I've installed PHP Version
4.1.2. Now I would like to create a Webalbum,
but my Server doesn't know the funktion imagetypes. He gives me the Error-message:
Call to undefined function: imagetypes(). I
found the same Error
I am working on such a CMS right yet.
I want to implement infinitly Language Support and an Wordpad
like HTML Editor which allows you to chose basic design tem-
plates and lets you upload some images.
I want to build an extraordinary Usermanagement, where you can
write parts of an Text while some
Has any one ever considered creating browser / client-side php to
replace Javascript and vb??
One language across the whole web ;-)
Posted this question in the evangelism so I'd be interested in more
reaction:
Pete
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: htt
Out of pure boredom, I'm considering writing a simple scripting language
in PHP. Has anything like this been done before? Any open-source
projects I should look at?
--
The above message is encrypted with double rot13 encoding. Any unauthorized attempt to decrypt it will be prosecuted to the f
"Luke Woollard" <[EMAIL PROTECTED]> wrote... :
> I once read a great article in the first or second issue of
> http://www.phparch.com/ on database abstraction layers. At which point I
> used the tutorial as a starting point for creating a very similar structure
> I named dbWave. There are only mi
Pag wrote:
Hi, I am having a serious problem on my site. It was working fine
until a day ago, when it simply freezes. After i made a few checks i
realized it loops on this code. I tried everything but i cant understand
why and i am going crazy trying to figure it out!
This code is supp
I am doing now ;)
How would you guys like the idea, though?
--
Maxim Maletsky
[EMAIL PROTECTED]
Pete <[EMAIL PROTECTED]> wrote... :
> Has any one ever considered creating browser / client-side php to
> replace Javascript and vb??
>
> One language across the whole web ;-)
>
> Posted this
I'm aware it's not a PHP problem, I was trying to be nice by helping
figure out what the problem was in his raw communication.
On Wed, 2003-02-05 at 15:24, Jason Wong wrote:
On Wednesday 05 February 2003 23:32, Adam Voigt wrote:
> How about some code?
>
>
"One language across the whole web"
In a word: JAVA
Has the cross-platform flexability of PHP with a little more versitility and
power under the hood. Of course PHP still has its niche, but I'm still waiting
to go to an ecommerce page that fires up and interactive store applet on the
client si
Ok, I am sure this has been discussed but I have not been keeping up with
the listserv. I am using sessions so to test, I blocked all cookies and of
course the sessionid is then in the url. How can I hide it from the
url?...or is this even possible?
Thanks,
Eddie
--
PHP General Mailing List (
I'm trying to create an array from a rocordset that will do somethingt like
this:
$datay=array(12,8,19,3,10,5,55,88,3);
the following is the code I have attempted to create, which is not working:
do {
$dat = ($row_rsCOUNTRY['CountryCount'] & ","
$row_rsCOUNTRY['CountryCount']);
} while ($row_rsCO
> -Original Message-
> From: Edward Peloke [mailto:[EMAIL PROTECTED]]
> Sent: 06 February 2003 13:56
> To: Php-General@Lists. Php. Net
> Subject: [PHP] session id
>
>
> Ok, I am sure this has been discussed but I have not been keeping up with
> the listserv. I am using sessions so to test,
Been using PHP for some time but never have actually compiled my own,
the version my provider compiled always sufficed, anyway, I
I'm having some issues.
config fails here:
checking for GD support... yes
checking for the location of libjpeg... yes
checking for the location of libpng... yes
checki
That is a real nice thought - but Java is NOT platform independent - ever
tried running your java applets on a Mac, or how about BSDI? Guess what -
bad interpreter for Mac and expensive non-available one for BSDI. Java is
no different than PHP except that it is a tough language to learn for the
l
Hi,
I would like put this question directly to Rasmus creator of this
wonderful server side scripting language.
Is there a possibility with the future release of PHP to add extension in
a easier manner. For every feature client wants there is a recompile
involved.
Wouldn't this be much ea
PHP codes gets executed at the server (server side), so I wonder how you can
make it to work at the client side?
But good thinking :)
huzz
- Original Message -
From: "Pete" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, February 06, 2003 12:55 PM
Subject: [PHP] Client Side P
On Thursday 06 February 2003 22:04, Vernon wrote:
> I'm trying to create an array from a rocordset that will do somethingt like
> this:
> $datay=array(12,8,19,3,10,5,55,88,3);
>
> the following is the code I have attempted to create, which is not working:
>
> do {
> $dat = ($row_rsCOUNTRY['CountryC
Like a previous poster said, you would have to develop some type of plug-in to
work with the browsers that would incorporate PHP on the client side. Or talk
Microsoft into including it in Internet Exploder by default :-) This strategy
depends on user experience studies..I know many people who
Karthikeyan.Balasubramanian schrieb:
> Hi,
>
> I would like put this question directly to Rasmus creator of this
> wonderful server side scripting language.
>
> Is there a possibility with the future release of PHP to add extension in
> a easier manner. For every feature client wants there i
That gives me something that looks like this:
Array ( [0] => 34 [1] => 31 [2] => 16 [3] => 16 [4] => 6 [5] => 4 [6] => 4
[7] => 3 [8] => 2 [9] => 2 [10] => 2 [11] => 2 [12] => 2 [13] => 2 [14] => 2
[15] => 2 [16] => 1 [17] => 1 [18] => 1 [19] => 1 [20] => 1 [21] => 1 [22]
=> 1 [23] => 1 [24] => 1 [
Hi there,
I found a way to read input from a console mode in linux, very simple open
php://stdin to read from the standard input system. THE PROBLEM is i can't
just read one character it always waits for the user to press enter which is
not what i intended to do.
When i write "Please press a key
Php schrieb:
> PHP codes gets executed at the server (server side), so I wonder how you can
> make it to work at the client side?
>
> But good thinking :)
>
> huzz
Client Side PHP ? ... maybe you could ;-) ... you only have to install PHP on
your box. PHP is too mighty and huge to implement in
Leif,
i think Ariadne does this. IIRC they have a mini template language called
PinP
"Leif K-Brooks" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Out of pure boredom, I'm considering writing a simple scripting language
> in PHP. Has anything like this bee
$f = fopen("php://stdin","r");
$command = fread($f,1);
fclose($f);
Would that not read a single character?
On Thu, 2003-02-06 at 09:41, Mathieu Dumoulin wrote:
Hi there,
I found a way to read input from a console mode in linux, very simple open
php:/
Actually, I believe it's not a matter of the input being set, but the fact
that isset() returns true on an empty variable.
Jason Wong
use implode(',',$datay)
Vernon wrote:
That gives me something that looks like this:
Array ( [0] => 34 [1] => 31 [2] => 16 [3] => 16 [4] => 6 [5] => 4 [6] => 4
[7] => 3 [8] => 2 [9] => 2 [10] => 2 [11] => 2 [12] => 2 [13] => 2 [14] => 2
[15] => 2 [16] => 1 [17] => 1 [18] => 1 [19] => 1 [20] => 1
Nope, it returns 1 character from the input buffer after the user presses
enter
sadly, i did try that already!
=P
-
"Adam Voigt" <[EMAIL PROTECTED]> a écrit dans le message de news:
[EMAIL PROTECTED]
$f = fopen("php://stdin","r");
$command = fread($f,1);
fclose($f);
Wou
Looking for a better solution to forward mail from an IMAP account via PHP
to another account.
Right now I am utilizing the built in imap functions (i.e.
imap_fetchstructure, imap_fetchbody, imap_header among others) to get the
individual parts and a MimeMessage class to rebuild the message. Once
I've setup a search page using PHP which when searching a MySQL 'varchar'
field it works just fine, but I'm trying to extend the search to include a
field that is a 'text' field and it keeps coming back with no results.
Is searching text fields allowed? It would seem that it only be logical that
i
ncurses is the answer
Mathieu Dumoulin wrote:
Hi there,
I found a way to read input from a console mode in linux, very simple open
php://stdin to read from the standard input system. THE PROBLEM is i can't
just read one character it always waits for the user to press enter which is
not what i i
Brian V Bonini schrieb:
> Been using PHP for some time but never have actually compiled my own,
> the version my provider compiled always sufficed, anyway, I
> I'm having some issues.
NOTE: once compiled, this PHP package runs without the include files,
cause they are "included" to the package. So
What's wrong with this snippet of code that would make it stop working
after upgrading from 4.0.6 to 4.3.0
Stuff
'./configure' '--with-apxs=/usr/local/www/bin/apxs'
'--with-config-file-path=/usr/local/www/etc' '--enable-versioning'
'--with-system-regex' '--disable-debug' '--enable-tra
Necesito saber como limpiar o actualizar txt . Resulta q he creado un chat en flash y
php, pero almacena los user y los comentarios en txt, lo malo es que tengo q
limpiarlos desde el server.q hago.
_
Registra gratis tu cuenta email
I have a function that I use to return the number of days between two dates. It
worked fine on my Mandrake 7.0 server running PHP 4. I am trying to run it on a
RedHat 8.0 box with the same version of PHP. On Mandrake, strtotime() and mktime()
returned a negative number for dates prior to 1970
Si estoy entendiendo correctamente, usted desea guardar el archivo
cierta longitud quitando
la entrada pasada cada vez que se agrega un nuevo. Si esto est+AOE
correcto, usted debe hacer esto:
(Esto est+AOE asumiendo sus comentarios es seperated por una rotura de la
l+AO0-nea.)
+ADw?php
+ACQ-f +
On Thu, 2003-02-06 at 10:03, Goetz Lohmann wrote:
> Brian V Bonini schrieb:
> > Been using PHP for some time but never have actually compiled my own,
> > the version my provider compiled always sufficed, anyway, I
> > I'm having some issues.
>
> NOTE: once compiled, this PHP package runs without t
Goetz Lohmann <[EMAIL PROTECTED]> wrote... :
> Php schrieb:
> > PHP codes gets executed at the server (server side), so I wonder how you can
> > make it to work at the client side?
> >
> > But good thinking :)
> >
> > huzz
>
>
> Client Side PHP ? ... maybe you could ;-) ... you only have to
Brian V Bonini schrieb:
> What's wrong with this snippet of code that would make it stop working
> after upgrading from 4.0.6 to 4.3.0
>
>
>
> if (!$id) {
> include "pagetop.inc.php";
> }
> if ($id == 1) {
> $title = "xxx";
> include "pagetop.inc.php";
> ?>
> Stuff
>
>
>
look at http://
Rot Alvarez schrieb:
> Necesito saber como limpiar o actualizar txt . Resulta q he creado un chat en flash
>y php, pero almacena los user y los comentarios en txt, lo malo es que tengo q
>limpiarlos desde el server.q hago.
>
> _
> R
Why is it that \n gets translated to a _new line_ when in
double quotes whereas it's displayed as the literal when
in single quotes? I checked out the docs but couldn't
come up with a definitive answer. If someone could point
me to the right page in the docs that explains this, I'd be
ever so ap
Brian V Bonini schrieb:
> On Thu, 2003-02-06 at 10:03, Goetz Lohmann wrote:
>
>>Brian V Bonini schrieb:
>>
>>>Been using PHP for some time but never have actually compiled my own,
>>>the version my provider compiled always sufficed, anyway, I
>>>I'm having some issues.
>>
>>NOTE: once compiled, th
All single quotes around variables or escape characters are written out man!
it's as simple as that.
example you have a variable named $hey and you want to output "$hey", you
can't it's gonna replace the content of that string with the value of $hey.
When you put stuff inside ' ' they are not es
Hi there I have this problem wondering how to define the size of my images.
I have this page that has 9 images coming from the database. These images
are uploaded into a folder and the names are referenced in the DB.
I pull the image through these tags
" ?>
and it's ok if the images are rectangular
Think thje user base will be quite big if we got it together.
How many oho programmers are there who struggle with Javascript - me
included ;-)
Anyway the opensourcness of php would make the plugins more efficient
for each browser.
pete
Maxim Maletsky wrote:
Goetz Lohmann <[EMAIL PROTECTED]> w
On Thursday 06 February 2003 22:34, Vernon wrote:
> That gives me something that looks like this:
> Array ( [0] => 34 [1] => 31 [2] => 16 [3] => 16 [4] => 6 [5] => 4 [6] => 4
> [7] => 3 [8] => 2 [9] => 2 [10] => 2 [11] => 2 [12] => 2 [13] => 2 [14] =>
> 2 [15] => 2 [16] => 1 [17] => 1 [18] => 1 [19
Chris Boget schrieb:
> Why is it that \n gets translated to a _new line_ when in
> double quotes whereas it's displayed as the literal when
> in single quotes? I checked out the docs but couldn't
> come up with a definitive answer. If someone could point
> me to the right page in the docs that e
Jason Wong <[EMAIL PROTECTED]> wrote on 02/05/2003 09:38:48 PM:
> On Thursday 06 February 2003 07:13, [EMAIL PROTECTED] wrote:
>
> > > 1) Read the changelog/history/release notes of all versions of php
> > > between the
> > > 4.0.3 and up to 4.2.3
> > >
> > > 2) Check the php log (turn on full er
Geckodeep schrieb:
> Hi there I have this problem wondering how to define the size of my images.
> I have this page that has 9 images coming from the database. These images
> are uploaded into a folder and the names are referenced in the DB.
> I pull the image through these tags
> src=\"$folder/$i
Do a search for other applications that write PPT files.
I have used a number of others in the past.
Perhaps they are scriptable and run in your environment.
Perhaps openOffice?
Example: Apple's new presentation product.
I does write PPT. Their products are normally very scriptable.
Also OFFICEx
Chip Wiegand schrieb:
> Jason Wong <[EMAIL PROTECTED]> wrote on 02/05/2003 09:38:48 PM:
>
>
>>On Thursday 06 February 2003 07:13, [EMAIL PROTECTED] wrote:
>>
>>
1) Read the changelog/history/release notes of all versions of php
between the
4.0.3 and up to 4.2.3
2) Check the p
Goetz Lohmann schrieb:
> Geckodeep schrieb:
>
>>Hi there I have this problem wondering how to define the size of my images.
>>I have this page that has 9 images coming from the database. These images
>>are uploaded into a folder and the names are referenced in the DB.
>>I pull the image through th
I am currently using a php build by Marc Liyanage for Mac OS X and had a
question.
I need to use the mhash function, but it was not included in the build.
Is there a way to add that extension to PHP without recompiling?
I already have mhash installed and running, I just need php able to use it.
Thanks Goetz
But how can I apply this having:
Path to the folder is $folder='images/repor_images'; // path to the
image.
My 9image variables are $image1, $image2, $image3,. and the code to call the
image
" ?>
Thanks again.
"Goetz Lohmann" <[EMAIL PROTECTED]> wrote in message
[EMAIL
On Thursday 06 February 2003 22:50, [EMAIL PROTECTED] wrote:
> > of type text are set regardless of whether you have entered
> > anything.
> > Thus isset() returns true.
> Actually, I believe it's not a matter of the input being set, but the fact
> that isset() returns true on an empty variable.
On Thursday 06 February 2003 23:13, Rob Quenzer wrote:
> I have a function that I use to return the number of days between two
> dates. It worked fine on my Mandrake 7.0 server running PHP 4. I am
> trying to run it on a RedHat 8.0 box with the same version of PHP. On
> Mandrake, strtotime() and
It's fairly easy. isset returns true if the VARIABLE itself exists,
like if it's been declared, or set by a form. isset isn't checking the
VALUE of the VARIABLE, just if it exists. In Jason's example below,
isset returns false because the VARIABLE was never declared in some way,
shape or for
Goetz Lohmann <[EMAIL PROTECTED]> wrote on 02/06/2003 08:09:19 AM:
> Chip Wiegand schrieb:
> > Okay, so I have turned on all the error handling options in
> > /usr/local/etc/php.ini-dist. I have purposely put an error in my
> > phpinfo.php
> > page, it errors out in the browser, but no error lo
On Thursday 06 February 2003 23:56, [EMAIL PROTECTED] wrote:
> Okay, so I have turned on all the error handling options in
> /usr/local/etc/php.ini-dist.
As someone has already pointed out, that file should be 'php.ini', not
'php.ini-dist'.
> I have purposely put an error in my
> phpinfo.php
>
I'm just starting to use PEAR, and have seen several ways of
instantiating the PEAR objects:
$form = new HTML_QuickForm();
$form =& new HTML_QuickForm();
$dbh = DB:connect("dsn");
$dbh = new DB();
$mail_object =& Mail::factory('sendmail', $params);
Can anyone explain (or point to dome docs that e
subscribe [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
http://www.php.net/manual/en/language.references.php
http://www.php.net/manual/en/language.oop.php
Examples 1 and 4 are equivalent
Example 2 assigns a reference of the new object to $form
Example 3 assigns the value from the DB class method connect() to $dbh
(could be an object or some other value
Anyone know a way to make PHP on windows fork itself into the
background?
Doesn't matter if it's a windows trick or whatever, aslong as it's
possible so that
it doens't appear in the start bar, thats fine.
Preferably it would work under both Win98 and Win2000 but I'm
not gonna be picky.
Thanks ve
Geckodeep schrieb:
> Thanks Goetz
>
> But how can I apply this having:
>
> Path to the folder is $folder='images/repor_images'; // path to the
> image.
>
> My 9image variables are $image1, $image2, $image3,. and the code to call the
> image
>
> src=\"$folder/$image1\">" ?>
>
> Thanks ag
Thanks for clearing that up. So input of type text does a set, which makes
isset() true, but isset() does not return true if $var is merely empty.
Hi there,
You have to use full text search capabilities of
MySQL. Please take a look mysql documentation for full
text search.
thanks
Hardik
--- Vernon <[EMAIL PROTECTED]> wrote:
> I've setup a search page using PHP which when
> searching a MySQL 'varchar'
> field it works just fine, but I'm try
Thanks goetz for your time, that's very kind of you to write the code. if i
have any more questions i shall post it under new thread.
"Goetz Lohmann" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Geckodeep schrieb:
> > Thanks Goetz
> >
> > But how can I apply
I have a little app that sends email, All images I link back to the site
Example: http://www.site.com/images/pic1.gif";>
I know that with the normal mail() and pear mail function you can attach the
image with the email.
My question is what is better. Linking the image back to the site is very
eas
Is there a setting in the config file where I can tell php what extensions
to process?
Thanks,
Eddie
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I got a lot out of Web Application Development with PHP4, by Tobias
Ratshiller and Till Gerken, New Riders. Its not just about oop but covers
this aspect well and is generally a very well written intermediate to
advanced treatment of php.
Also to keep ahead of the game this is an interesting artic
On Friday 07 February 2003 01:35, [EMAIL PROTECTED] wrote:
> Thanks for clearing that up.
Hmm, it seems like you still haven't grasped it yet :)
> So input of type text does a set, which makes
> isset() true,
Correct.
> but isset() does not return true if $var is merely empty.
Incorrect. Basi
Hello gents,
I made a script to open a file on a server and write his content to a temp
file on my server.
A part of the temp file is below:
***temp file**
!GENERAL
VERSION = 1
RELOAD = 1
UPDATE = 20030206181916
CONNECTED CLIENTS = 178
CONNECTED SERVERS = 12
!CLIENTS
AHS5577:134723:
you need to test for empty strings such as "" which variables have when you
submit an empty form ..
if(!empty(varname) && !empty(varname2) && !empty(varname 3)..){
//do whatever if they have something usefull in them
//this block of code will be ran if var_dumb() on all the
//vars tested is >
no that doesnt work either what you get when you do that one in the edit box
is:
using:
>
or any different with echo in the value field gives me in the box:
}>
...rest of the script outside the box
- Original Message -
From: "Jason Wong" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: T
On Thursday 06 February 2003 19:12, Mark McCulligh wrote:
> I have a little app that sends email, All images I link back to the site
> Example: http://www.site.com/images/pic1.gif";>
>
> I know that with the normal mail() and pear mail function you can attach
> the image with the email.
> My questi
You basically have two options.
1) You can use readfile() to open the file into an array then $line =
explode(':', $file) in a for loop to split the values from each line.
search for 'readfile' and 'explode' on php.net
2) You can fopen() the file and use $data = fgetcsv($fp, 1000, ':') then
your
On Thursday 06 February 2003 19:18, Edward Peloke wrote:
> Is there a setting in the config file where I can tell php what extensions
> to process?
Not in the PHP configuration but in the Server configuration. For Apache add
something like
AddType application/x-httpd-php .xyz
to your httpd.conf
1 - 100 of 144 matches
Mail list logo