you should tell WHAT problem you have.
does it throw an error?
doesn't it work as expected ... ?
whats the matter?
thomas
On Sun, 20 Jun 2004 13:47:03 -0700 [EMAIL PROTECTED] (Erik Gjertsen) wrote:
> I have problem with mysql_close
> I dont understand why.
> Are ther someone
up???
Scott F.
I get mysql_escape_string if I search for it.
These are two different mysql-modules so use the one for the module you
use (probably just mysql_escape_string).
thomas
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
le is wrong from the place where you
include.
thomas
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
u need an internal function for something simple like
that?
thomas
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
gt; and /usr/local/php5?
AFAIK it can only be done with one of these as module, the other as CGI.
thomas
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
here i've gone wrong.
>
> thanks..
>
> -bruce
the docs say its for mysql-4.1.x and higher (you probably have
mysql-4.0.x)
http://de.php.net/mysqli
also I think its php5 only.
thomas
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ZF rocks ;)
debussy007 schrieb:
I succeeded using the Zend Framework.
debussy007 wrote:
Hello,
I have read here : http://www.geekzone.co.nz/tonyhughes/599
that I can use Gmail as a free SMTP server.
Is it possible to change the php.ini in order to have this running ?
I need to specify in
Why don't post an example of your news file too?
Joker7 schrieb:
Hi,
I'm using the code below to display news articles-which works great apart
from. I can control the number of articles,but I would like to add a link to
the bottom of the page to the un-displayed articles ( nexted 5 articles an
host instead of the domain name of my site. Minor thing because most people
probably dont look at headers, but I want it to be professional looking in
case someone does.
Thank you,
Thomas Le
"Choose a job you love, and you'll never have to work a day in your life." -
Confucius
Hi.
I'm using APC 3.0.17 with PHP 5.2.5 on Linux.
I'm suffering some "white page of death" APC errors, and I'm trying to
investigate the reasons. But:
1) I don't find any APC support forum.
2) I don't find any APC error log. I'm browsing Apache error log (with
PHP 'E_ALL' activate) and don't see
Hi.
I created this script to send emails:
---
$mailFromEmail = "[EMAIL PROTECTED]";
$mailFromName = "MYDOMAIN";
$mailTo = "[EMAIL PROTECTED]";
$mailHeaders =
"From: $mailFromName <$mailFromEmail>\n"
. "Content-Type: text/plain; "
. "charset=UTF-8; format=flowed\n"
. "MIME-Version:
By default, PHP will also stop execution when the browser is closed. See:
http://de.php.net/manual/en/features.connection-handling.php
on Friday 30 June 2006 09:06, weetat wrote:
> Hi all,
>
> I am using PHP 4.3.2 and MYSQL database.
> I think this question has been asked many times, however
There must be a special code in your script that causes it like this bug:
http://bugs.php.net/bug.php?id=37926
on Friday 30 June 2006 11:39, Alain Roger wrote:
> Hi,
>
> I' ve discovered a bug in PHP 5.1.4. This version of PHP create a new
> session everytime you refresh the same php page or that
What kind of connection you use ( persistent ?) and which PHP and MySQL
version?
Normaly, PHP exit after the browser gets closed, but sended SQL to MySQL get
finished executed.
on Friday 30 June 2006 11:54, weetat wrote:
> Hi Thomas,
>
>Yes. I read the manual regarding the c
I want to filter IP addresses. I noticed that my script catches IP addresses
that looks like they came from the internal LAN, ie 192.x.x.x and 10.x.x.x
My script catched those IPs by $_SERVER['REMOTE_ADDR']. Am I not being able to
catch IPs from transparent proxies that a user's ISP might use? W
What do you need exaclty?
Do you wanna encrypt the datas, that will be transfered to the client
Or
do you wanna encrypt the source code, that will be displayed on the client?
For reason 1 you can use SSL connection to encrypt the transfered datas.
For reason 2: forget it. The Browser needs to kn
I have an already working LDAP server. One of my user's ldif looks like:
...
...
sn: Roger Thomas
givenName: Roger Thomas
objectClass: top
objectClass: person
objectClass: inetOrgPerson
objectClass: organizationalPerson
objectClass: qmailUser
objectClass: hordePerson
o: example.com
ou: p
maybe you should resubscribe :)
on Tuesday 22 August 2006 16:31, [EMAIL PROTECTED] wrote:
> Would someone kindly let me know if there is activity on
> [EMAIL PROTECTED] I have not gotten posts for a few days now, and
> I'm having no luck connecting to the help, owner or admin addresses.
>
> Thanks
Use 'extends' syntax for sub classes
class A {
var $some_var;
var $class_B;
function A(){
$this->class_B = new B();
$this->some_var=2;
}
}
class B extends A {
var $class_C;
function B(){
$
This will not work.
$this->bla();
This is a PHP Syntax and tries to get the Class method, PHP dont look for a
variable name at all!
It seams me strange also, that you try this, you should create the method for
the class itself, or extend it.
But this shoul work:
class Test {
function Test
Pascal??
this is a PHP list, you are on the wrong place!
on Thursday 21 September 2006 11:12, Bronislav Klucka wrote:
> Hi,
> does anybody know how to write extension in FreePascal?
> Brona
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ant to write extension for PHP :)
> but I want to write it in FPC...
>
> Brona
>
> Thomas Munz wrote:
> > Pascal??
> >
> > this is a PHP list, you are on the wrong place!
> >
> > on Thursday 21 September 2006 11:12, Bronislav Klucka wrote:
> &
t; take dll file written in C and use it in program written in FPS and vice
> versa (it's all about rewriting function's headers). So my question is,
> if this is possible generally, can it be done for PHP?
>
> Thomas Munz wrote:
> > PHP is written in C. If you want to write
Maybe you mean a bug tracker?
checkout
http://flyspray.rocks.cc/
on Monday 23 October 2006 17:12, tedd wrote:
> Hi:
>
> I posted this on the web-design list, but didn't receive any leads.
>
> I want to continue what I've been doing, which is to offer various
> code solutions for people via my w
I personal prefer Frameworks. I tried some of them.
But in my opinion, those are not made to create application fater, no.
With Frameworks, you can maintaine your application better. You have a global
place where everything can be changed on one file. Ofc, its also possible
that this improves
You cannnot just open those files. That things that you see are not
'rubish' or whatever. Those files are in a binary format. You need to
understand the .doc format and the .pdf format. You can get this
infromation by using google and search for 'Binary word format' and so on.
Then you have to
Hi All,
I keep seeing the ? mark after many file names index.php?id=234.
So what I would like to know is how do you make them. I have heard that
they can make a programs life sampler when doing somethings with a database.
Thank you,
Thomas
--
PHP General Mailing List (http://www.php.net
Thank you for that, it was a big help.
Can I also call function that way?
Again thank you for your help.
Thomas
Tom Chubb wrote:
On 12/11/06, Thomas Bonham <[EMAIL PROTECTED]> wrote:
Hi All,
I keep seeing the ? mark after many file names index.php?id=234.
So what I would like to k
Try that:
--script1---
setName('MyName');
$obj->display();// outputs 'MyName'
$str_object = serialize($obj); //-- You need to serialize an object ( see
php.net manual ) in order to make an object working via session
$_SESSION['obj'] = $str_object: //-- save serialized string in the
se
Are there are PHP projects that focuses on Single Signon/Signoff like
Pubcookie, CAS, Cosign etc? Please advise. TIA.
--roger
---
Sign Up for free Email at http://ureg.home.net.my/
---
--
PHP Gener
-- Weitergeleitete Nachricht --
Subject: Fwd: Re: WG: Bitte weiterleiten
Date: Freitag, 24. März 2006 15:29
From: Thomas Munz <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
-- Weitergeleitete Nachricht --
Subject: Re: WG: Bitte weiterleiten
Date: Freit
Sorry!
Was mistakly commited, should go to the list in my address book but not here!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I'm trying to find out how make following happen
Example:
http://www.example.com/test.php?id=20
What makes this happen and how do I make it.
Thanks
Thomas
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
echo $ping_result["_raw_data"][5];
> Hi there,
>
> I do have problems with object oriented syntax as this is not familar to
> me. There is following output:
>
>
> object(net_ping_result)(11) { ["_icmp_sequence"]=> array(1) {
> ["61.117):"]=> string(1) "7" } ["_target_ip"]=> string(9) "y2.php.ne"
I personaly use proc_open() to run PHP Scripts.
on Tuesday 28 March 2006 12:14, nicolas figaro wrote:
> Hi,
>
> I'd like to run a php script in another php script. (the first is
> lauched from the command line).
>
> Is there a way to do it better than
> system ("/path/to/php script_included.php op
Forgot the Hi
>
> this may be a stupid moment but i cant find an help on google so.i
> am including two classes in my code using the "require_once("path to
> file")" method. this works fine for the first class but when including
> the second it simply outputs the contents on to the page. I
Cause 9th month have 30 days but 10th month have 31 days. You don't check the
amount of day there... :)
on Wednesday 29 March 2006 14:51, Adrian Bruce wrote:
> Hi
>
> I am having an unusual problem when trying to calculate dates in advance
> from a start date. the code below shows a loop where
if request come from port 443, SSL = Active
you can get the port from $_SERVER["SERVER_PORT"]
on Wednesday 05 April 2006 15:12, Alain Roger wrote:
> Hi,
>
> I would like to ebsure that my user has SSL activated.
>
> for that i would like to do something like that :
> 1. after lo-in button click,
Function that will work also, when JS is not activate and headers are allready
send :) :
';
} else { // no headers sent... much nicer header redirect
www.ixwebhosting.com
www.hostexcellence.com
on Tuesday 11 April 2006 15:18, Suhas wrote:
> Hello,
>
> Any suggestions for Dedicated PHP Webhost.
>
> The current service provider is ok but Customer service is
> unsatisfactory. Very bad experience.
>
> Thanks for your help in advance,
>
> SP
--
PHP
Only the main US Server.
Try: http://us2.php.net/
on Wednesday 19 April 2006 15:13, Brad Bonkoski wrote:
> Assuming the PHP web page is available, anyone else having problems
> connecting to php.net?
> -B
>
> Jay Blanchard wrote:
> >[snip]
> >is there a ready script that handle entering user name
hi list!
Does someone know a good Book/website for Develop own C-Extensions for PHP5?
http://us2.php.net/manual/en/zend.php
This site are just basic things, but i wanna do more things. Someone may help
me?
thx
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://ww
Hello,
I'm trying to do a ldap authentication page. I can get there username
and I don't know how to get the password from ldap. It didn't show up in
the the search for the command line. So how do I get the password of the
users?
Thomas
--
PHP General Mailing List (http://w
put ob_start(); on the first line of your page
on Monday 15 May 2006 15:53, Jonas Rosling wrote:
> Hi,
> I've been building a site with PHP 5 on my develop machine. I've been
> woring alot with session handling. For example I've been using
> session_start() now and then depending on where the use
session_write_close();
Ex:
session_start();
$asdf = $_SESSION; //-- get all datas
session_write_close(); //-- close session
on Wednesday 17 May 2006 16:36, Mathijs wrote:
> Robert Cummings wrote:
> > On Wed, 2006-05-17 at 10:11, Mathijs wrote:
> >> I Have an very strange problem.
> >>
> >> When
Before I write my own, is there a php math library that will perform US
to metric conversions and the like?
Thanks - Tod
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Eclipse - 3.1.2
Linux - 2.6.16-1.2111_FC4
PHP - 5.1.2, I built it.
DBG - 2.13.1, I tried the binary, then built it on my own
Apache - 2.0.55, I built it. PHP is running as a module but I've
configured Eclipse to use the standard PHP5 executable instead.
I wonder if anyone has gotten
Thats not PHP related. Its normal HTML/JS
2 Ways:
1) Make form to use 1 field:;
Hello,
>
> I want to provide two input text fields lastname and firstname and if the
> user pushes the submit button the generated url should be
> ...?name=firstname_lastname.
>
> Is this possible and how?
>
> Tha
I want to return an array from a function.
I have this:
return array($found, $username, $email, $nickname);
as my code. I have a bug in the code and I am not sure where yet. Should
the above statement with this:
array($vars);
$vars = function($type, $abc, $xyz);
$found = $vars[0];
$use
The below function is not working.
function crm_get_country_list(){
global $dbh;
$result = mysql_query("SELECT * FROM countries ORDER BY
pk_country_id ASC", $dbh) or die(mysql_error());
$country_list = array(' ' =>' ');
while ($row = mysql_fetch_assoc($result)){
$country_list[$ro
ECTED';
}
else {
$select = '';
}
print("".$nex[$k]."");
}
}
Thomas Bolioli wrote:
The below function is not working.
function crm_get_country_list(){
global $dbh;
$result = mysql_query("SELECT * FROM countries ORDER BY
; => 1,
'two' => 2,
'three' => 3,
'seventeen' => 17
);
foreach ($a as $k => $v) {
echo "\$a[$k] => $v.\n";
}
Thomas Bolioli wrote:
I should add, it is not working with this funciton, which could be the
source of the issue.
fun
(strcmp($selected_index, $k) == 0) {
$select = ' SELECTED';
}
else {
$select = '';
}
print "$v";
}
}
b wrote:
Thomas Bolioli wrote:
I should add, it is not working with this funciton, which could be
the source of th
I found the issue. The whitespace in between $list as $k => $V was all
not truly whitespace. Gotta love BBEdit...
Thomas Bolioli wrote:
I hav ebeen able to track down that this is the part not working. It
throws a parse error:
PHP Parse error: syntax error, unexpected T_VARIABLE on the l
ecause when I look after some
month in some projects I have a better overview when there is a long if ,
its much easier to extend.
sorry for my bad english
greetz
Thomas
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
BAO RuiXian wrote:
> Radwan Aladdin wrote:
>> I want to prevent mySQL from storing the same value in a
>> specified field (Username).. so how can I do it?
>>
> Make it field UNIQUE.
That's the easy method, but usually not very smart. It only causes MySQL to
generate an error which you then have to
Radwan Aladdin wrote:
> But I'm using VB OCX file to show the result... I tried the UNIQUE
> and it worked greate! So do you mean I should use other ways?
If it works, then great.
The problem, as I can see it, is if you have a form where a user applies for
a user account (I assume that since the
christian tischler wrote:
> Is there a way wuth php to create a list ordered by more than one
> column like in excel or access.
>
> something like "ORDER BY points AND score"
You might want to look at GROUP BY command too
http://www.mysql.com/doc/en/Group_by_functions_and_modifiers.html
/T
--
P
Hi guys,
Has anybody come across the same problem:
i am using the $_SESSION array to retrieve info of users. At times, however,
it just retrieves the wrong info, i.e. info from another user. how is that?
thanks in advance
Thomas
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
['fn'] . " " . $_SESSION['ln'];
or
sendReceived( $_POST['title'], $_POST['tusr'], $_SESSION['email'] );
[/snip]
So it is supposed to get the right info from the current sesssion with which
one logged in.
Thomas
--
PHP General Ma
Hi,
just updated from beta3 (which worked fine) and now my system is hosed. I am
running Apache 1.3.29 on WinXP and when I try and simply bring up phpinfo I
get the following message in the Apache error log file:
"Premature end of script headers: c:/php/php.exe"
Anyone any idea what is causing t
Hey,
Im writing a script for a poll, and im trying to figure out how to clear the
_post.
Right now i post the response that the user selected from the poll, back to
the poll page, which then displays the results
The way it works right now, if i try to refresh the page, IE will pop a
dialog back a
I tried using the Header('location: ') but it seems the posted data
follows the redirection
Im going from my main page to a processing page then back to my main page.
i printed $_POST on the main page and it still has the values that were
originally posted to the
processing page. Also after th
I am not sure if this was designed like this, or if its just something im
doing wrong.
Im posting some data to a processing page, where i handle it then use
Header('Location: other.php') to direct me to another page.
The problem that im running into is that the posted data is available in
other.p
Header("Location: $calling");
exit();
}
Chris
"Jason Giangrande" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Chris Thomas wrote:
> > I am not sure if this was designed like this, or if its just something
im
> > doing wrong.
> &
Just wondering, what is faster / more effecient, storing a value in the
session variable which gets stored on the filesystem (from what i
understand) or database calls to re-get the information?
Chris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/un
Hey,
Im trying to use sprintf to format a number and left pad it with spaces, but
it doesnt want to add the spaces
I can pad it with anyother char using sprintf("%'_8.2f, $val) which will
left-pad the number with underscores
Has anyone had any luck padding with spaces??
or is there a better way
Do you have register_globals on?
If not ayou have to get the POST information manually.
ie.. $job = $_POST['job']
Also are you sure that you are connecting to the database successfully?
add:
or die('could not connect')
to the end of your mssql_pconnect and mssql_select_db statements.
So your s
Hi folks,
thanks for another great php-release.
Are there any important changes since the last RC?
TIA,
thomas
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Is there anyway that i can get a url relative to my server for a script that
is being run??
The script is being included in mulitple files and $_SERVER['SCRIPT_NAME']
just gives me the name of the file that is including the other scripts.
Also $_SERVER['SCRIPT_FILENAME'] is returning nothing.
Tha
stylesheet from the
calling file (ie index.php)
I probally should have thought of this a little more before i posted...oh
well
Chris
"Chris Shiflett" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> --- Chris Thomas <[EMAIL PROTECTED]> wrote:
> > Is th
On Sun, 31 Oct 2004 21:52:32 -0700, Brian T. Allen <[EMAIL PROTECTED]>
wrote:
Hi,
OK, I'm totally stumped by this. This should be the simplest math
imaginable (addition and subtraction), but PHP is coming up with the
wrong answer!
[snip]
Is this legitimately bad math on the part of PHP?
T
On Sun, 31 Oct 2004 23:30:53 -0700, Brian T. Allen <[EMAIL PROTECTED]>
wrote:
No worries, this isn't personal. I just want to explore this limitation
and it's implications for my benefit and the benefit of any that read
this thread later when they are searching for answers to a similar
pr
mysql connections. Is there
no way I can tell MySQL4.1.6 to accept http authentication? This seems to be
the overall problem, because it foes not even find the right access password
once a connection is establishes (using the OLD_PASSWORD() function).
Thomas
I would like to install PEAR Calendar module and did a
[EMAIL PROTECTED] apps]# pear install Calendar
but got these:
No release with state equal to: 'stable' found for 'Calendar'
Please advise.
--
roger
---
Sign Up for free Email at http://ureg.
Thanks Greg. Got it installed now.
--
roger
Quoting Greg Beaver <[EMAIL PROTECTED]>:
> $ pear install Calendar-beta
>
> or
>
> $ pear install --force Calendar.
>
> Greg
---
Sign Up for free Email at http://ureg.home.net.my/
--
I would like to do some sort of facilities reservation system. Suppose this is for
booking , say, a meeting room.
Booking detail to be stored in db:
- name or id of person
- meeting room number
- date and time (when room will be used)
- number of hours to be allocated
Now say Peter booked room R
Great! Thanks Murray.
--
roger
Quoting "Murray @ PlanetThoughtful" <[EMAIL PROTECTED]>:
>
> > How will a PHP script perform such checking to prevent that sort of
> > overlapping in reservation ? Or could it be that my database design is bad
> > that's blocking ideas into my head ?
>
> Hi Roge
Yes. I flipped thru the manpages and found:
expr BETWEEN min AND max
If expr is greater than or equal to min and expr is less than or equal to max,
BETWEEN returns 1, otherwise it returns 0. This is equivalent to the expression (min
<= expr AND expr <= max) if all the arguments are of the sam
On Fri, 05 Nov 2004 09:19:58 +0200, Simas Toleikis <[EMAIL PROTECTED]>
wrote:
I think PHP5 docs are not full yet. Wasnt there supposed to be
namespaces in PHP5? PHP documentation doesnt even mentions them...
No, they were cut, and it is highly doubtful they will show up any time
before php6.
On Wed, 10 Nov 2004 15:56:28 -, Ford, Mike <[EMAIL PROTECTED]>
wrote:
On 10 November 2004 13:37, Horst JÃger wrote:
(Please keep this on list -- others may be able to help better/faster
than
me!)
I am thinking about complexity.
How is a string implemented in PHP? A deque or a char* ?
cha
On Thu, 11 Nov 2004 02:51:54 -0800 (PST), Rayan Lahoud
<[EMAIL PROTECTED]> wrote:
Hello,
does anybody knows how to call a C function from a php code?
Thank you!! :)
http://us4.php.net/manual/en/function.system.php
--
Using M2, Opera's revolutionary e-mail client: http://
On Sun, 14 Nov 2004 16:48:57 +0100 Nick Wilson <[EMAIL PROTECTED]>
wrote:
hi all,
im all tired out of searching, just cant seem to find a script that will
convert atom 0.3 to any rss format. Does anyone have one or know where i
can get hold of one?
http://www.w3.org/1999/XSL/Transform";
xm
On Tue, 16 Nov 2004 15:43:51 -0500, Josh Howe <[EMAIL PROTECTED]> wrote:
I've implemented my own bubble sort function that is crashing apache.
Can somebody either help me out with the bubble sort or help me figure
out a way to solve my problem with php's built in sorting functions?
http://us4.php.n
the output I'd expect:
A::__construct
B::__construct
It happens for regular methods also, not just constructors. Is this a
bug, or is this behavior correct for some reason? (Tested in php
5.0.0, 5.0.1, and 5.0.2)
Thanks.
Thomas
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Sat, 20 Nov 2004 17:49:04 -0500, Gregori Halsiber <[EMAIL PROTECTED]>
wrote:
Hi, I'm trying to write a md5 hash to auth users... And before I get
flamed
about md5 not being a crypt system but a hashing system I know...
Security
is not a problem..
I'm trying to build a standalone Message U
called in this example is the "go" method of the
class "Bar".
}
}
class Bar{
function go() {
$f = new Foo();
$f->fubar();
}
}
$b = new Bar();
$b->go();
--
Thanks,
- Thomas
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
i
don't see the document within the webbrowser.
What is wrong.
Thanks for help
Thomas
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> I am writing a file download system and I need to be able to do a
> redirect after the download is finished.
>
> Basically, the user will be presented with a simple HTML page that
> contains a link to download the file (href="/download.php?fileid=143").
> I have the code to send the file working
> Parse error: parse error, expecting `']'' in file.php
>
> I've been working on this script, and can't see why it fails here, but I
> have another page that uses the same coding and it works correctly.
>
> OK, here's the code:
> $cart1 = "";
> $cart1 =
> "'$_POST[nutrition_program_assistant]','$_P
On Thu, 2 Dec 2004 09:58:46 +0800, Cyrus <[EMAIL PROTECTED]>
wrote:
Dear All,
I have a problem of back to the previous page in php.
I need to create a form let people to fill in .It can let user to
preview the form, if information is not correct , user can back to
previous page and corre
On Wed, 1 Dec 2004 22:13:37 -0800, Bart Baenisch <[EMAIL PROTECTED]> wrote:
I believe I understand the thread unsafeness problem, and I
think a reasonable cure is the prefork MPM for Apache 2, as
RedHat distributes.
If we decide to avoid the work of removing the Apache
2.whatever that RedHa
> foreach ( $_POST as $key => $value )
> {
> while ($key != "submit")
> {
>\$$key = $value;
>$addtocart .= ",'\$$key'";
> }
> }
>
> The problem is that it seems to be hanging at the while loop. Is there a
> cleaner way to write the foreach loop so that it will dump out the "submit"
>
On Fri, 3 Dec 2004 09:32:34 +0530, suneel <[EMAIL PROTECTED]>
wrote:
Hi to all
any one Could tell me any diffrence between and . And which one is better to use and in which situations.
Byee
is the older syntax, and it can cause problems with xml (as the xml
prolog uses
--
I think you can use the export() function for that..
> Here's the full code and the driving page:
>
> http://rsossam-lap.ces.ncsu.edu/leadership/test.html
>
>
> for ($i=1; $i<10; $i++)
> {
> if (isset ($_POST['choice'.$i]))
> {
>for ($j=1; $j<5; $j++)
>{
> $tempChoice = "choice"
you forgot the " ' " in the
$fname= $_POST[fname];
$lname= $_POST[lname];
$addie= $_POST[addie];
$city= $_POST[city];
fields!!!
> error, expecting `T_VARIABLE' or `'$'' in
> c:\fourh\leadership\registration_post.php on line 29
>
> The HTML page:
> http://rsossam-lap.ces.ncsu.edu/leadership/re
your set it to '-1'!!!
thats not allowed. You must habe a value highter than zero. Its better you set
it in generall to 60. And you forgot the 'M' fater the number like
ini_set("memory_limit","-1M");
set it better to that:
ini_set("memory_limit","60M");
> hello,
>
> what do I have to change
I think, its not possible to init an Objeect on a session. Session will be
rebuild on each reload of the site based on the session id, i think...
Maybe here the object can't be rebuild anymore...
> Following code:
>
>
> class SessionTestC {
> protected $value;
>
> function __construct (
This is not possible with PHP, you must do that with JavaScript.
> Hello,
> I was just wondering how to build a text editing tool with php. I mean a
> tool that can help users to format their texts in the pages.
>
> I mean something like paste the text in a text box. Select some part of the
> text
> http://www.php.net/unsub.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
501 - 600 of 862 matches
Mail list logo