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
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 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
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
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
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
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
--- 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
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
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
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
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
>
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
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
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
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
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
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
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
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
--- "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
--- 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
--- 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
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
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
___
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
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
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
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
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
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
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
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
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
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
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
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
--- 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,
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
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
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
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
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
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
101 - 144 of 144 matches
Mail list logo