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
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
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
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
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
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:
> &
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
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
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(){
$
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
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
>
> Any idea how to stop it ? Because it cause my web page to be slow.
>
> Thanks.
>
> Thomas Munz wrote:
> > By default, PHP will also stop execution when the browser is closed. See:
> >
> > http://de.php.net/manual/en/features.connection-handling.php
> >
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
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
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
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
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
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
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
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
Function that will work also, when JS is not activate and headers are allready
send :) :
';
} else { // no headers sent... much nicer header redirect
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,
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
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
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
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"
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
-- 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
Do you set this vars before somewhere in the code? Because if you get
some datas from a from you have to use $_POST/$_GET to get the values...
Hi,
I have this simple piece of code that worked like a chram in PHP 4.x
Now that i've moved to PHP 5 it doesn't work anymore.
I always get 0 for $form_ok
I'm using PHP 5.0.3 and if a problem if a class method. I'm initializing a
class like that:
$o_SessionHandler = new SessionHandler();
var_dump($o_SessionHandler->getOrgSession());exit;
Now it get the error message:
Fatal error: Using $this when not in object context
in /srv/www/htdocs/SessionH
Does anybody know a good PHP5 Exception Tutorial that explain this new
function step by step?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Today i think i found an bu in the PHP5 version 5.0.3 ( allready exits also in
the version 5.0.2 , i try this version also ).
When tryo one of this scripts:
$i_test = "0.085007667542";
$tm_total = sprintf('%.2f', $i_test);
echo $tm_total;
$i_test = 0.085007667542;
$tm_total = sprintf('%.2f', $
Be carfull with this super var. This var is a merge of the GET, POST and
FILES, and so only 1 index can only exists. If you have an index in the POST
field called 'test' and also and index calles test in the FILES or GET var,
than only one index of them is avaible and the other are gone
I r
$_POST["example"][1]
$_POST["example"][2]
> If I have a form with elements like
>
>
>
>
> If example was not an array it would be accessed using
>
> $_POST["example"]
>
> But how do I access the varable if it is an array like above.
>
> Ben
--
PHP General Mailing List (http://www.php.net/)
To
Not more PHP modules?
like
php4-4.3.3
php4-mysql-4.3.3
php4-zlib-4.3.3
??
Do you compile PHP4?
...
> Thomas Munz wrote:
> > This is not an Mime-type problem.
> >
> > What apache version your runnging.
>
> Apache/2.0.48
>
> > What RPMs of PHP4 you have
This is not an Mime-type problem.
What apache version your runnging.
What RPMs of PHP4 you have installed?
What PHP Apache module you have installed?
> If it works most of the time, just not all the time... it can't really
> be the mime-types, or can it?
>
> -Rinke
>
> Stephan Fiedler wrote:
> >
I have the same problem.
This problem occured i PHP crashes.
Do you upgrad your PHP to a newer version or do you compile a PHP source and
have RPMs installed?
> Hi All,
>
> I have a rather odd problem. Since a few days, my otherwise perfect SuSe
> 9.0 Apache2 server started to do some funny stu
> http://www.php.net/unsub.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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
This is the PHP mailing list, not the SQL mailing list ;)
but here is the syntax ( not tested ):
SELECT
c.name AS city
FROM
geodb_locations AS c,
user AS u
WHERE
u.user_id = 4
AND
c.plz LIKE u.plz;
> Hello everybody,
>
> I am trying to create a sql query with php and I do h
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 (
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
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
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"
> 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"
>
> 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
> 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
47 matches
Mail list logo