on 07/02/03 2:41 AM, Pete ([EMAIL PROTECTED]) wrote:
> 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.
I
www.webeditpro.com has a nice 'static' page editor with one of the most
advanced WYSIWYG interfaces I've seen.
The company I work for uses a similar one I wrote named SITEWAVE however
they wont let me release it under GPL.
Heres a great article on building one which I used as the basis for
SITEWA
Why don't you two gather up a few more developers, decide on what is needed
and what the goals are, then assign parts to build for the new CMS. Once
finished, you can maybe present it to PHP.net and see if they will allow it
to be developed and documented in the future by other developers. A CMS is
check for leading/trailing spaces
if (trim($view) == "vendor")
HTH
Martin
-Original Message-
From: Peter Gumbrell [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 07, 2003 3:07 PM
To: Php-General
Subject: [PHP] problems with ==?
In the following code
$view = $HTTP_GET_VARS[view];
pri
In the following code
$view = $HTTP_GET_VARS[view];
print $view;
if ($view == "vendor")
{ code here
}
print $view produces 'vendor'
but the if statement in the next section isn't being triggered. Can anyone
see what is wrong here? I have tried double quotes, single quotes and no
quotes around 'v
Hi,
I have 2 pages that shows a table contents
On one, it shows the title and date with the following script
**
0)
{
// iterate através do conj resultados
// print titulo dos artigos
while($row = mysql_fetch_object($result))
{
?>
http://www.ivao-pt.org
--- Daevid Vincent <[EMAIL PROTECTED]> wrote:
> Fatal error: Call to undefined function: floatval()
> in /home/dae51d/public_html/examples/echotest.php on
> line 14
Please try to make an effort and do a little research of
your own before asking the list:
http://www.php.net/manual/en/function.floa
Hi,
Friday, February 7, 2003, 4:39:42 AM, you wrote:
JW> On Friday 07 February 2003 01:35, [EMAIL PROTECTED] wrote:
>> Thanks for clearing that up.
JW> Hmm, it seems like you still haven't grasped it yet :)
>> So input of type text does a set, which makes
>> isset() true,
JW> Correct.
>> but
Fatal error: Call to undefined function: floatval() in
/home/dae51d/public_html/examples/echotest.php on line 14
> -Original Message-
> From: Chris Shiflett [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, February 06, 2003 2:40 PM
> To: anders thoresson; [EMAIL PROTECTED]
> Subject: Re: [PH
Dude. That freakin' form that asks for my email/name EVERY time has to
go.
Make that shit voluntary. It's annoying as hell, and is just forcing me
(and others) to enter bunk info everytime we want an update to this
product.
> -Original Message-
> From: Insanely Great [mailto:[EMAIL PROTECT
Because PHP performs evaluation on the contents of double quotes and
does not evaluate the contents of single quotes. This is covered in the
PHP manual in the Variables section at
http://www.php.net/manual/en/language.variables.php.
Jason
On Thu, 2003-02-06 at 08:27, Chris Boget wrote:
> Why is
It looks like your code is using register globals which are turned off
by default in PHP 4.2 and greater. You can either modify your code to
use the PHP super globals or turn register globals back on (you can do
this in php.ini or via an httpd.conf/.htaccess).
Jason
On Thu, 2003-02-06 at 08:12, B
Before I say a word I'd just like to inform you that these are the types of
questions better left to books and tutorials rather than live help. That
being said, ELSE does not need to follow IF. Code the condition you want to
capture and perform your error message on that.
// Enter if member not
Hi,
We have recently upgraded to PHP 4.30 and since then, some people on our
server started getting the following error message on their sites:
Warning: main() [function.main]: stream does not support seeking in
http://www.domain.com/path/to/file.inc on line 0
We have found that it happens when
hi..
i have a combobox that has members from a mysql database loaded into it..
one of the choices is "select a member to edit" and has a value of "". now
if a person selects "select a member to edit", then an error message shows
up saying they need to select a member to edit and puts them back to t
http://www.php.net/manual/en/faq.using.php#faq.using.headers-sent
Justin Garrett
"Chris Winters" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Im SO CLOSE!
>
> Welll to start I had everything running FINE (MySQL, Apache, and PHP)
until
> I installed STUPID Ze
Edit php.ini and add the pear directory to your include_path
or
use ini_set to set your include_path in your script:
http://www.php.net/manual/en/function.ini-set.php
Justin Garrett
"Harring Figueiredo" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
> I woul
a = "hi";
$this->hello();
}
}
$foo = new sub;
$foo->hi();
echo $foo->a;
?>
Justin Garrett
"Electroteque" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> hi there sorry about the long subject , but i have not mastered yet how to
> pass funtcions and
On Thursday 06 February 2003 05:22 pm, Chris Shiflett wrote:
> --- "Reuben D. Budiardja" <[EMAIL PROTECTED]>
>
> wrote:
> > I browse the archive and found the following code to
> > simulate a POST request using socket connection. This
> > will send a request to my own server (localhost). And
> > th
I would like to include some of the files ( tabel.php, etc ) from PEAR on my
scripts - Do I have to hardcode the installation path ? or is there a directive
that tells the preprocessor to look on the right place (Like in c)?
Thanks in advance.
HArring
___
Im SO CLOSE!
Welll to start I had everything running FINE (MySQL, Apache, and PHP) until
I installed STUPID Zend Studio for PHP. After their 30 day trial expired, I
uninstalled it and everything just went downhill.
After re installing everything, I have these errors left over. Now the code
is alr
--- Chris Shiflett <[EMAIL PROTECTED]> wrote:
> Your first method is more efficient according to my
> quick test, though I find myself preferring the second
> when I write code due to the readability advantages.
The results went the other way when I tested this using
mod_php rather than the CLI, a
--- anders thoresson <[EMAIL PROTECTED]> wrote:
> Which is more efficient:
Your first method is more efficient according to my quick
test, though I find myself preferring the second when I
write code due to the readability advantages. The
difference is small, however. Here is the code I used to
te
--- "Reuben D. Budiardja" <[EMAIL PROTECTED]>
wrote:
> I browse the archive and found the following code to
> simulate a POST request using socket connection. This
> will send a request to my own server (localhost). And
> then, I also have the second code (included) for
> /devel/php_post.php, which
Sarah,
There are a couple functions that could do this for you.
Probably the fastest one for your example would be as follows.
$NewString = str_replace('%20', ' ', $value); // Removes the %20
characters
$NewString = str_replace '\', '', $NewString); // Removes \ character
echo $NewString;
htt
Try these:
http://www.php.net/manual/en/function.urldecode.php
http://www.php.net/manual/en/function.rawurldecode.php
HTH,
Jason k Larson
Sarah Gray wrote:
Hello,
Forgive me if this is an obvious question, but I am passing a value (a
string with spaces and quotations) back in a query string
a
Hello,
Forgive me if this is an obvious question, but I am passing a value (a
string with spaces and quotations) back in a query string
and do not know how to strip the extra characters that have been placed
into it.
For example.
$value = "Sarah's Test Page"
query string = mypage.php?value=Sarah
actually so does empty end up testing true on an empty var... thats because
empty thinks "" or string(0) is actually a string just blank... a trick to
do with empty is use !empty which will say if the string is at least 1 char
long other wish if it is less than 1 char long even though a string does
Which is more efficient:
function admin_menu() {
echo " Meny ";
echo "Medlemmar";
echo "Album";
echo "Huvudmeny";
echo "Logga ut";
}
or
function admin_menu() {
?>
Meny
Medlemmar
Album
Huvudmeny
Logga
ut
}
Any reasons other than speed to choose either?
--
anders thoresson
--
PH
On Thursday 06 February 2003 03:39 pm, Kevin Stone wrote:
> All data sent through a POST request is stored in the $_POST array.
>
> $_POST['myvar'];
>
> -Kevin
I know that. That's not what I am asking though.
OK, let me just give a more concrete examples. I browse the archive and found
the foll
hi there sorry about the long subject , but i have not mastered yet how to
pass funtcions and variables between a base and subclass , i cant seem to
access variables properly between the bass class and subclass and functions
from the subclass in the base class ?
--
PHP General Mailing List (htt
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,jpg and freetype2 from a
tar file.
I was finally able to get it through the configure stage with no
errors but now when I run make I am getting the following error.
I have know idea what
All data sent through a POST request is stored in the $_POST array.
$_POST['myvar'];
-Kevin
- Original Message -
From: "Reuben D. Budiardja" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, February 06, 2003 1:27 PM
Subject: [PHP] Reading input stream of incoming request
>
Adam Voigt wrote:
> 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.
You have to start it as a service I think you need to be logged
Stuart Donald wrote:
> I am trying to generate an html form with approximately 3000 post
> variables (1500 input type text and 1500 hidden, I am mimicing a grid
> control). The page will handle several hundred but it crashes with
> more. Is there a limit to the number of variables that can be sen
Stuart,
The limitations you are running into are browser related. The older
browsers definitely won't handle that load. And the newer ones can
handle more but no where near that load.
Have you thought about splitting your form into steps??
Also, you could join all your hidden variables into a
--- Pushpinder Singh Garcha <[EMAIL PROTECTED]> wrote:
> i wanted to check with if it is possible to see the
> contents of a .php file.
You can open any normal PHP script in a text editor.
> I have heard of the Zend Encoder, but I was wondering
> how could a person see my php script?
If you use
Hi,
How do I read an input stream from incoming request in PHP?
The incoming input stream is actually an name=value pair of a POST request
method from a client.
The reason I ask: I am using Apache + PHP as the backend for creating
client-server scheme. The client is a MIDlet apps (J2ME:
http
SQLyog v3.02 - The definitive Windows Front End for MySQL, has been
released. It is a superfast, compact and easy to use Front End for MySQL. A
must for MySQL & PHP developers. SQLyog is FREE!
Some of the new features added in SQLyog 3.02 are -
-- ODBC Import. The simplest and the most powerful t
On Thursday 06 February 2003 22:50, Sunfire wrote:
> 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
Spot the difference between your co
Hi all
i wanted to check with if it is possible to see the contents of a .php
file.
I have heard of the Zend Encoder, but I was wondering how could a
person see my php script ?
Any information in this direction would be useful?
TIA
--Pushpinder Singh Garcha
_
W
I am trying to generate an html form with approximately 3000 post variables
(1500 input type text and 1500 hidden, I am mimicing a grid control). The
page will handle several hundred but it crashes with more. Is there a limit
to the number of variables that can be sent post.
Or is it possible I
Check out explode()
$file // say this variable has your file contents
$lines = explode ("\n", $file); // lines contains each line of the file
foreach ($lines as $line -> $content) {
if (strrpos($line, ':')) {
$values = explode (':', $content);
echo "The first value is : ".$valu
I don't like using images in emails too, but what the customer wants they
get.
Mark.
"Johannes Schlueter" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> On Thursday 06 February 2003 19:12, Mark McCulligh wrote:
> > I have a little app that sends email, All ima
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
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: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
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
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 >
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:
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
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
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 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
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
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 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.
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
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
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
subscribe [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.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
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
>
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
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
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
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.
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
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.
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
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
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
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
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
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
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
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
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
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
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
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
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
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://
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
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
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 +
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
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
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
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
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
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
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
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
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
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
$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:/
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
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
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
1 - 100 of 144 matches
Mail list logo