Hi
This should do it:
class parentClass {
var $x;
var $child;
function parentClass($_x, &$_child) {//<
$this->x = $_x;
$this->child =& $_child; //<<
$this->child->m = "Grow up, son";
}
function foo() {
return "I'm the parent.";
}
}
class
Hi,
Friday, November 29, 2002, 4:58:02 PM, you wrote:
GS> I was just going through the archive. Seems this comes up enough for me
GS> to think I have something wrong.
GS> A simplistic code flow of events...
GS> session_start();
GS> // user successfully logs in, set a session variable
GS> $_SES
Hi,
I have never bothered with the cookie, I only delete the server side info.
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
Sunday, December 1, 2002, 10:05:53 PM, you wrote:
BC> Hi,
BC> I would like to post the following question related to an inheritance
BC> problem with PHP OO programming :
BC> With an object of a subclass, I call a method of the parentclass in order
BC> to modify an attribute of the parentc
Hi,
Monday, December 2, 2002, 4:06:54 PM, you wrote:
CA> Hi all,
CA> I'm making a site with a dynamic menu based on IF statements and DB
CA> queries, but have this little problem which I can't understand the
CA> reason. My programming method is based upon an application.php file
CA> which control
Hi,
Tuesday, December 3, 2002, 1:57:21 PM, you wrote:
GS> Ive just been getting myself deep into using sessions.
GS> Sessions are working as it should except for one condition.
GS> Say I log into the site, and the session is started, and I don't do
GS> anything for the next 30 mins, then go back
Hi,
Tuesday, December 3, 2002, 12:12:09 PM, you wrote:
BG> Okay, I've just solved my own problem by simply doing:
BG> settype($input,"integer");
BG> but.. I'm puzzled about why the following more complicated solution
BG> didn't work. The ASCII value for 0 is 48, and for 9 is 57.
BG> The idea w
Hi,
Tuesday, December 3, 2002, 5:17:48 PM, you wrote:
TR> Hi,
TR> Tuesday, December 3, 2002, 12:12:09 PM, you wrote:
BG>> Okay, I've just solved my own problem by simply doing:
BG>> settype($input,"integer");
BG>> but.. I'm puzzled about why the following more complicated solution
BG>> didn't
Hi,
Wednesday, December 4, 2002, 12:45:15 AM, you wrote:
cyc> Hi
cyc> The script is not working.
cyc>function authenticate($user,$pass) {
cyc> $result = -1;
cyc> $data = file("shadow"); /* permission every
cyc> one read */
cyc> foreach($date as $line ) {
cyc>
Hi,
Wednesday, December 4, 2002, 1:27:49 AM, you wrote:
cyc> Hi
cyc>I made some changes to this script but still it is
cyc> not working
Try using the whole password as the salt like this
if(crypt(trim($pass),$arr[1]) == $arr[1])
Or are you still only getting -1 returned ?
--
regards,
T
Hi,
Wednesday, December 4, 2002, 4:01:07 AM, you wrote:
>> Ive just been getting myself deep into using sessions.
>> Sessions are working as it should except for one condition.
>> Say I log into the site, and the session is started, and I don't do
>> anything for the next 30 mins, then go back to
Hi,
Tuesday, December 3, 2002, 7:37:20 AM, you wrote:
VE> Hi.
VE> I'm new in PHP. Could you point me where can i download a sample script
VE> about how can i paginate some results?
VE> TIA
Here is a class that will create a google like pagination of results if that is
what you are after :)
cou
Hi,
Wednesday, December 4, 2002, 1:04:07 PM, you wrote:
S> I have a similar problem only my sessions expire once you leave the site,
S> even for a second. I'm not so experienced with cookies so how can I fix
S> this?
S> - Original Message -----
S> From: "Tom Roge
Hi,
Wednesday, December 4, 2002, 1:33:03 PM, you wrote:
No question :)
It's just that this is what the original question was about and why I suggested
doing his own sesssion timeout check as the deleting proccess is too unreliable
to depend on for timeout handling. PHP will quite happily return st
Hi,
Wednesday, December 4, 2002, 1:59:11 PM, you wrote:
JWH> Okay. I think I thought you were the original poster. How do you know
JWH> it's returning "stale" data, though? If the cookie is valid, and there
JWH> is still a session file (or data in memory), then why is it stale or
JWH> expired. Ma
Hi,
Wednesday, December 4, 2002, 2:06:36 PM, you wrote:
JTJ> Martin,
JTJ> Anyone,
JTJ> I'm desperate :( PHP isn't sending my SQL correctly. It's not a MySQL problem.
It's my PHP syntax.
JTJ> Debugging:
JTJ> http://ccl.flsh.usherb.ca/print/print.html?search=%26quot%3Bready+maria%26quot%3B
JTJ>
Hi,
Wednesday, December 4, 2002, 3:39:10 PM, you wrote:
>>Is there a minimum field size for using mcrypt?
SY> Boy I feel dumb now. :) My answer was in my post. Mcrypt returns a
SY> string that is usually longer than the original string, since the return has
SY> to be a multiple of the bloc
Hi,
Wednesday, December 4, 2002, 3:12:41 PM, you wrote:
JTJ> Tom,
JTJ> Anyone,
JTJ> No I'm not looking for a ", I'm trying to pass double quotes into MySQL.
JTJ> Like I said, it works when debugging:
here is a function to clean up your search string, a bit long winded but it
should work :)
func
Hi,
Thursday, December 5, 2002, 3:39:20 AM, you wrote:
JTJ> What are magic quotes? Will this help me?
JTJ> http://news.php.net/article.php?group=php.general&article=126934
JTJ> How is this different from stripslashes.
JTJ> I have RTF doc :)
JTJ> http://www.php.net/manual/en/function.get-magic-
Hi,
Thursday, December 5, 2002, 7:11:20 AM, you wrote:
JTJ> Tom,
JTJ> Sorry for the delay. I have tried your code.
JTJ> SELECT id,AU,ST,BT,AT FROM ccl_main WHERE MATCH
JTJ> (TNum,YR,AU,ST,SD,BT,BC,AT,PL,PR,PG,LG,AUS,KW,GEO,AN,RB,CO) AGAINST ('"ready
maria" ' IN BOOLEAN MODE)
JTJ> ORDER BY id asc
Hi,
Thursday, December 5, 2002, 9:15:53 AM, you wrote:
VH> Hi,
VH> I have de following code for example
VH> $username = "victor";
VH> function test() {
VH> echo $username;
VH> }
?>>
VH> If I call the funcion test(), echo print nothing what's is going on ?
VH> []´s
VH> [EMAIL PRO
Hi,
Thursday, December 5, 2002, 11:00:14 AM, you wrote:
RL> On Wednesday, December 04, 2002 3:03 PM, I wrote
RL> Hi,
RL> Further to my original post, to check if my php.ini was being recognized I
RL> temporarily changed some other configuration options, i.e. register_globals
RL> and include_path
Hi,
Thursday, December 5, 2002, 8:16:06 AM, you wrote:
AB> Hi everyone.
AB> I have certain links for document navigation with a query string where one of the
values doesn't fill, so the links don't work.
AB> The document is a law navigated with pieces of text taken from an array, where the
key
Hi,
Thursday, December 5, 2002, 7:26:57 AM, you wrote:
S> Sorry for the uncontrolable emaling to the list but I'm in rather a stump.
S> You may be hearing a lot from me over the next few days too.
S> Anyway, I mentioned before my form with the addition that loops to the
S> number of numbers the u
Hi,
Thursday, December 5, 2002, 11:54:08 AM, you wrote:
RL> Tom,
RL> Thanks for your response. If this is so, can you tell me how I check it out
RL> and fix things.
RL> Roger
Unless you have set it yourself that is probably not the reason.
Try setting it like this
upload_max_filesize = 8M
Hi,
Thursday, December 5, 2002, 3:09:46 PM, you wrote:
RL> Tom Rogers responded on Wednesday, December 04, 2002 6:11 PM
RL> Hi,
RL> Thursday, December 5, 2002, 11:54:08 AM, you wrote:
RL>> Tom,
RL>> Thanks for your response. If this is so, can you tell me how I chec
Hi,
Thursday, December 5, 2002, 3:24:15 PM, you wrote:
BC> I am struggling with the code below. I keep getting the error "Couldn't
BC> execute query". Please help me out, let me know where I am going wrong.
BC> $db_name = "db1";
BC> $table_name = "user";
BC> $connection = @mysql_connect("loca
Hi,
Thursday, December 5, 2002, 5:11:16 PM, you wrote:
RL> Jason Wong responded Wednesday, December 04, 2002 10:24 PM
RL> < On Thursday 05 December 2002 10:14, Roger Lewis wrote:
RL> < > Thanks for the suggestion. I'll try ini_set although I'm not yet
RL> certain
RL> < > of how to use it.
RL> <
Hi,
Friday, December 6, 2002, 2:08:42 AM, you wrote:
h> I am really sorry but i can't find any good mySQL good mailing list...
h> How can i make a little php function to check if a table exists ?
h> Thanks a lot,
h> Hacook
function table_exists($table){
return (@mysql_query('SELEC
Hi,
Friday, December 6, 2002, 5:00:07 AM, you wrote:
S> Hello again,
S> This is another PHP mathematical question. How can I display a bar over a
S> number (overline) if it's a repeating decimal? When the user types in 1 by
S> 3, they get 0.. I want it to display as 0.3 with the 3
S>
Hi,
Friday, December 6, 2002, 10:33:43 PM, you wrote:
GdRZ> Hello list,
GdRZ> I am running a redhat7.3 box and a customer want to get installed php with
GD-library support
GdRZ> I want to configure php like this:
GdRZ> ./configure --with-gd= where is this directory?
GdRZ> How can
Hi,
Saturday, December 7, 2002, 1:41:22 AM, you wrote:
ithc> Hi Paul,
ithc> compiled PHP like that
ithc> ./configure --with-config-file-path=/etc --enable-force-cgi-redirect
--with-mysql -with-gd=/usr/local/gd2 --no-create --no-recursion
ithc> Error Message:
ithc> In file included from gd.c:83:
Hi,
Saturday, December 7, 2002, 2:31:09 AM, you wrote:
TR> Hi,
TR> Saturday, December 7, 2002, 1:41:22 AM, you wrote:
ithc>> Hi Paul,
ithc>> compiled PHP like that
ithc>> ./configure --with-config-file-path=/etc --enable-force-cgi-redirect
--with-mysql -with-gd=/usr/local/gd2 --no-create --no-r
Hi,
Saturday, December 7, 2002, 2:56:53 AM, you wrote:
MS> I'm trying to find some documentation on the $_FILES
MS> array, but on PHP, it's a little confusing. I read the
MS> documentation and the comment from rep_spam@..., but
MS> that wasn't too clear to me either.
MS> I'm aware that when uploa
Hi,
Saturday, December 7, 2002, 6:36:18 AM, you wrote:
S> How would I run the functions though and then print the repeating decimal to
S> the screen?
The function returns the string ready to print
You will need to comment out the echo $s line, it was there for debugging.
just do where ever you
Hi,
Thursday, December 5, 2002, 9:40:20 PM, you wrote:
FW> Hi All,
FW> i have to migrate a website from WNT/IIS to Solaris/Apache.
FW> Some stuff seems to work, but now I am stuck with a page which gets cut
FW> off in the middle of the out put. It is a template system with a chain
FW> of includ
Hi,
Saturday, December 7, 2002, 7:15:38 AM, you wrote:
>> ini_set
G> ("include_path","/path/to/local/includes:"ini_get("include_path"));
>>
>> Then no matter what directory you are in you can just include("filename");
>>
>> --
>> regards,
>> Tom
>>
G> Thank you. This should work, but I have one
Hi,
Saturday, December 7, 2002, 6:01:19 AM, you wrote:
CD> I'm not sure why this isn't working, been banging my head at it for a couple
CD> hours now.
CD> I have a file (index.php), which calls a function that draws the header to
CD> my page.
CD> Inside that function (site_header), is an include
Hi,
Saturday, December 7, 2002, 9:43:47 AM, you wrote:
DO> Hi People,
DO> I ve just started with some OOP programming in PHP and now i have to
DO> build a set of classes that can generate a html form.. But i have a
DO> problem with the thing
DO> I hope someone can help me here or give me s
Hi,
Sunday, December 8, 2002, 2:27:20 AM, you wrote:
TW> I like arachnophilia.
TW> Tim Ward
TW> http://www.chessish.com
TW> mailto:[EMAIL PROTECTED]
TW> - Original Message -
TW> From: John W. Holmes <[EMAIL PROTECTED]>
TW> To: <[EMAIL PROTECTED]>
TW> Sent: Saturday, December 07, 2002 4:1
Hi,
Sunday, December 8, 2002, 1:46:07 AM, you wrote:
S> Ok, I'm getting some weird errors. Here's the website:
S> http://check.melchior.us/module.php?id=3
S> I attached the output file. What am I doing wrong!?
S> - Original Message -
S> From: "Tom Rog
Hi,
Sunday, December 8, 2002, 4:22:52 AM, you wrote:
DN> Hi Tom,
>> >> I know the text editor question has been beat to death, but I'm looking
>> >> for a simple editor with syntax highlighting that can be installed in
>> >> Windows by a general user. It would have to be something that didn't
>>
Hi,
Monday, December 9, 2002, 2:24:47 AM, you wrote:
SM> Im just about at wits end here Im trying to verify that a users ID and
SM> Password exist in the MySQL Database and then if it does display certain
SM> content and if it does not display login form content.
SM> ###At present here is the e
Hi,
Monday, December 9, 2002, 2:29:35 AM, you wrote:
BJC> Hello!
BJC> When trying to connect to a mysql database under my linux system, I get the
BJC> following error:
BJC> Warning: Can't connect to local MySQL server through socket
BJC> '/var/lib/mysql/mysql.sock' (2) in /webroot/dbconnect.php
Hi,
Monday, December 9, 2002, 11:59:07 AM, you wrote:
JF> Hi,
JF> I'm running the following code on two servers:
JF> $stamp = 1039525200;
JF> echo date('D, d M Y',$stamp);
?>>
JF> On my local development box (Free BSD, PHP 4.1.1, on AUSTRALIAN time), the
JF> above echo's "Wed, 11 Dec 2002" (I
Hi,
Tuesday, December 10, 2002, 12:09:46 AM, you wrote:
FW> No, it is not output from a DB, just a simple static text file with some
FW> PHP functions in it, but even if I remove them, the error remains the same.
FW> I have now upgraded to Apache 1.3.17 and php4.2.3 no change.
FW> One idea w
Hi,
Tuesday, December 10, 2002, 2:31:00 AM, you wrote:
FW> Hi Tom,
FW> I had this checked out before, but I did only check the errorlog for this
FW> virtual host, there is an entry in the error log of the main server for
FW> each request to the page in question:
FW> [Mon Dec 9 17:27:05 2002
Hi,
Tuesday, December 10, 2002, 2:31:48 AM, you wrote:
>> Have you checked:
>>
>> Browser versions? (is the browser the same type/version as on the other
>> machines)
>> Is it a laptop? If so, are you using the internal keyboard with Numlock
1JWH> on?
>> Is the machine in question set-up on the ne
Hi,
Wednesday, December 11, 2002, 2:05:25 AM, you wrote:
LR> Hi,
LR> Just wondering if anybody knows a script to display a resultset over several pages
using page numers & previous, next links.
LR> So far I've only found such scripts for mysql using the the following sql syntax
which is not od
Hi,
Wednesday, December 11, 2002, 8:02:41 PM, you wrote:
TR> Hi,
TR> Wednesday, December 11, 2002, 2:05:25 AM, you wrote:
LR>> Hi,
LR>> Just wondering if anybody knows a script to display a resultset over several
pages using page numers & previous, next links.
LR>> So far I've only found such
Hi,
Friday, December 13, 2002, 12:07:05 AM, you wrote:
R> Hello all,
R> I am passing a variable like so:
R>
R> On the "link.php" page, I have this simple code:
R> $job = $_GET['foo'];
R> echo "$job"; // for error checking
R> include 'path/to/$job';
?>>
R> The 'echo "$job";' statement works
Hi,
Friday, December 13, 2002, 9:09:43 AM, you wrote:
QB> Hi,
QB> If phpinfo() does not have an 'XML' section, and so 'XML Enabled true' is not
there, but the compile line is '--with-xml=shared,/usr', does this mean that I have
XML support or not?
QB> PHP 4.0.3pl1, Apache 1.3.9
QB> I am
Hi,
Saturday, December 14, 2002, 10:12:28 AM, you wrote:
SM> I have a form that is submitting a Javascript to validate fields before the
SM> form casn be submitted. The problem is that the field name has to be
SM> prefixed with "required". So, if I have a field called email, it has to be
SM> calle
Hi,
Saturday, December 14, 2002, 1:03:05 PM, you wrote:
MK> Hi everybody,
MK> I'm trying to upload a file using the following scripts, but it doesn't
MK> work, it actually doesn't get through the first line of PHP script at all
MK> and displays "a problem has occured" message. I'm running the scr
Hi,
Saturday, December 14, 2002, 1:52:48 PM, you wrote:
MK> Thanks Tom, but still no luck.. it seems like it doesn't recognize $testfile
MK> variable at all in PHP script, even thought the globals are ON...
Put phpinfo(32); at the top of your file and see what is being sent
--
regards,
Tom
--
Hi,
Saturday, December 14, 2002, 5:55:12 PM, you wrote:
JW> On Saturday 14 December 2002 11:35, Tom Rogers wrote:
>> You are missing this bit:
>>
>>
JW> I am curious as to why so many people say this in response to file upload
JW> problems?
JW> In practice, non
Hi,
Thursday, December 19, 2002, 2:30:44 PM, you wrote:
TK> Hi,
TK> I recently went through a horrendous experience with two different hosting
TK> providers. I'd like some recommendations on excellent hosting providers if
TK> anybody has some.
TK> My key priorities in order are:
TK> 1) around-th
Hi,
Sunday, December 22, 2002, 7:24:41 AM, you wrote:
BG> Hi,
BG> I've finally got a host and I want to transfer my existing website - I
BG> have managed to copy and upload my database (wow that was easy.. had
BG> been dreading it) but now I'm worried that my sessions aren't going
BG> to
Hi,
Wednesday, December 4, 2002, 12:13:22 AM, you wrote:
GC> Hi folks,
GC> I would like to add a few fields to a custom Apache access log format
GC> and populate the values from mod_php.
GC> As a mechanism, I was thinking of using the PHP function putenv( ) to
GC> set environmental variables. I
Hi,
Sunday, December 22, 2002, 1:43:27 PM, you wrote:
TM> Wow!! You're my king! Thanks, that syntax is completely new to me!
TM> Great, another thing learned today! :)
TM> Cheers mate!
You have setup a recursive reference there with child, I don't know if this
causes bad things to happen in php
Hi,
Tuesday, December 31, 2002, 2:55:39 AM, you wrote:
>> In the test function, if I just serialize the $xml, return it and then call
>> xmldoc_open_mem on the unserialized return string, it works fine.
>> But it doesn't like it if I do the above. I'm getting the error:
>>
>> Warning: dump_mem(
Hi,
Tuesday, December 31, 2002, 5:14:18 PM, you wrote:
LKB> Thanks... thing is, it can be anything from c:\whatever.exe to
LKB> c:\program files\program name\bin\program.exe. I'll write a function
LKB> that goes to each directory in a string and does a dir /x if I have to,
LKB> but isn't there
Hi,
Tuesday, December 31, 2002, 4:54:36 PM, you wrote:
e> hi i've just started a job and they are sadly using php3 , what is the work
e> around for the session handling limitation ? i have an authentication class
e> which will not work now beause it cant handles sessions :|
Have a look at phplib
Hi,
Wednesday, January 1, 2003, 2:47:57 AM, you wrote:
AR> I'm running the following sql query which outputs a repeat value for each
AR> field in the html cell box.
AR> Like this:
AR> ..
AR> 3.3 3.3 78 78 2002-06-11 2002-06-11
AR> ...
AR> which is not what I w
Hi,
Wednesday, January 1, 2003, 5:28:43 AM, you wrote:
>> Try encoding like this:
>> $retval = base64_encode(serialize( domxml_open_mem( $xml )));
>> and on the next page:
>> $xml = unserialize(base64_decode($xml));
>> It works via html but don't know enough about soap
BC> Well, you don't have to
Hi,
Wednesday, January 1, 2003, 4:01:35 PM, you wrote:
DR> oh have you got an example proper usage of it ? i had it working then
DR> suddenly i didnt :|
DR> -Original Message-
DR> From: Tom Rogers [mailto:[EMAIL PROTECTED]]
DR> Sent: Tuesday, December 31, 2002
Hi,
Thursday, January 2, 2003, 12:39:46 PM, you wrote:
EK> i am now facing a problem in multiple select.
EK> This is my example code in html.
EK>
EK> 123
EK> 234
EK> 345
EK>
EK> i select all the value and pass to php...it should be a array.
EK> but when i display the destList value,
Hi,
Friday, January 3, 2003, 10:33:39 AM, you wrote:
MJP> Just to add to that... what it is doing is reading it as a 0.
0,0,0,09,30,1998 =>> 883458000
MJP> Tue, 30 Dec 1997 00:00:00 -0500
0,0,0,0,30,1998 =>> 883458000
MJP> Tue, 30 Dec 1997 00:00:00 -0500
MJP> Did you see this in the manual?
Hi,
Friday, January 3, 2003, 4:18:05 PM, you wrote:
AF> I'm just starting out, this is my script...
AF> $name = $_POST['username'];
AF> $name = $name;
AF> $db = mysql_connect("localhost");
AF> mysql_select_db("vinyldealers",$db);
AF> $query = "SELECT shops.name FROM shops WHERE name = ".$name.";
Hi,
Saturday, January 4, 2003, 3:23:37 AM, you wrote:
FML> -Original Message-
FML> From: Daevid Vincent
FML> To: [EMAIL PROTECTED]
FML> echo "action = ".$_POST[action]."";
FML> if ($_POST[action] == "1" || $_POST[action] == "0")
FML> echo = "UPDATE Company SET Enabled = ".!(intval($_POS
Hi,
Sunday, January 5, 2003, 12:47:40 PM, you wrote:
AP> How about something like this..
AP> function runquery($query)
AP> {
AP> $query = mysql_query($query);
AP> if (mysql_error())
AP> {
AP> echo "MySQL Error: ". mysql_error() ."\n";
AP> exit(1);
AP> }
Hi,
Sunday, January 5, 2003, 9:46:05 PM, you wrote:
DTG> Hi, all --
DTG> If I have an array like
DTG> $a1 = array ( 'a' => 'aaa' , 'b' => 'bbb' , 'c' => 'ccc' ) ;
DTG> and I want to completely remove 'b' from it (not just set $a1[b] to ""),
DTG> how do I undefine that element?
DTG> TIA & HA
Hi,
Monday, January 6, 2003, 8:56:58 AM, you wrote:
VB> Can someone tell me why I keep getting that error:
VB> Parse error: parse error, unexpected $end in D:\Program Files\Apache
VB> Group\Apache2\htdocs\proxy\acc_new.php on line 62
VB> line 62 refers to
VB> Thanks for your help
VB> Vincent
Hi,
Tuesday, January 7, 2003, 10:23:54 PM, you wrote:
ME> Tom,
ME> Thanks for that.
ME> I don't have access to the server on which the site is being run but I'll suggest
the change to the hosting company.
ME> Michael Egan
ME> -Original Message-
ME> Fro
Hi,
Tuesday, January 7, 2003, 6:45:43 AM, you wrote:
ClP> Does anyone know a way to fetch your own IP-adress? I need it because I run
ClP> a web server on my computer with a dynamic-IP so I need it to change all the
ClP> URLs it creates dynamically...
ClP> Thanks!
ClP> -Charles
I think you shou
Hi,
Wednesday, January 8, 2003, 12:29:50 AM, you wrote:
DB> I want to be able to retrieve POST variable in one PHP script (which is
DB> straight-forward) and then send these from the script to another one
DB> returning the processed input.
DB> I have written a script that will parse a frames-base
Hi,
Thursday, January 9, 2003, 7:31:35 AM, you wrote:
PH> Hi everyone, I am new to this list, so this is my first post.
PH> I am trying to sen dan HTML email, and so far I got everything running,
PH> except for one very odd problem.
PH> 1.) I am setting up all my variables within the .php Script
Hi,
Friday, January 10, 2003, 4:25:00 AM, you wrote:
JEO> Hi
JEO> HELP!!!
JEO> I have read through the manual about using $_POST[''] to retrieve
JEO> data from forms, but what happens when a form element is not filled in
JEO> or checked?
JEO> If I have a checkbox on a form called "chk1" I get
Hi,
Friday, January 10, 2003, 4:06:23 PM, you wrote:
tnc> I would like to know if the follwing function can be implemneted
tnc> in php with help of other tools:
tnc> using MS Word in windows, when a file is saved, can it be AUTOMATICALLY
tnc> uploaded (via http POST or other mechanism) to a serve
Hi,
Tuesday, January 7, 2003, 6:58:08 PM, you wrote:
ME> I've finally got round to making some attempt to validating the pages of a site
I've done with PHP using the W3C XHTML Validator. However, it's throwing out errors
wherever I use session control
ME> on pages.
ME> The server generates PHP
Hi,
Monday, January 13, 2003, 1:04:49 AM, you wrote:
WG> Hi,
WG> I have been trying to solve the problem of using session variables, but I
WG> have not had any luck. What I want to do is simple, I want to set my userid
WG> and password in a login screen and use it later (in another php form) to
Hi,
Monday, January 13, 2003, 2:10:57 AM, you wrote:
hmgd> How can i get the file information of a uploaded jpeg-file.
hmgd> i need the heigt and width in pixel and the resolution.
hmgd> Thanks Harry
Use getimagesize()
$info = getimagesize('image.jpg');
echo 'Width = '.$info[0].' Hieght = '.$inf
Hi,
Sunday, January 11, 2004, 10:42:01 PM, you wrote:
NS> Hi,
NS> How can I find time stamp for example 125 next days. or 03:30 hours next?
NS> Regards,
NS> S. Naqashzade
NS> PS: Sorry for my bad english :-(
The simplest way is with strtotime() for example
$stamp = strtotime("+ 125 days");
--
Hi,
Tuesday, January 14, 2003, 9:36:57 AM, you wrote:
P> -BEGIN PGP SIGNED MESSAGE-
P> Hash: SHA1
P> I did a complex class that works with XML parsing and complex structured where
P> I used references extensivly and now I'm surprised with:
P> Warning: Call-time pass-by-reference has been
Hi,
Tuesday, January 14, 2003, 11:01:33 AM, you wrote:
P> -BEGIN PGP SIGNED MESSAGE-
P> Hash: SHA1
P> On Monday 13 January 2003 20:01, Tom Rogers wrote:
>> Hi,
>>
>> Tuesday, January 14, 2003, 9:36:57 AM, you wrote:
>> P> -BEGIN PGP SIGNED MESSAGE-
Hi,
Tuesday, January 14, 2003, 1:09:10 PM, you wrote:
ES> I have the following problem:
ES> I have a DB named 'fotografias' with the following information:
ES> ind indice_bio url
ES> 1 2 ../images/agosti.jpg
ES> 2 2 ../images/militar.jpg
ES> 3 2 hgfhgfh
ES> 4 2
Hi,
Wednesday, January 15, 2003, 12:48:59 AM, you wrote:
EP> Ok, I know I have asked this question before and I have asked it on the db
EP> forum, on asp forums, java applet forums, searched google, etc but can't
EP> really seem to find anything. I have to come up with a way to move data
EP> fro
Hi,
Friday, January 17, 2003, 4:44:19 AM, you wrote:
PH> Leon Mergen said:
>> Now, first of all, why did you this:
>>
>> "); ?>
>>
>> and not just:
>>
>>
PH> Because short tags are evil ;-) My provider has short tags enabled, so
PH> there is no getting around this bit of ugliness.
>> only tha
Hi,
Friday, January 17, 2003, 11:16:53 AM, you wrote:
S> I have a PHP driven site that as a time schedule. Since the site isn't exactly
filled with very intellagent people who just LOVE to translate times and dates from a
weird format (Such as the
S> format used in MySQL), I'd like to take these
Hi,
Sunday, January 19, 2003, 5:50:51 AM, you wrote:
j> hi, i'm hoping someone can help me out here - im trying to pass a variable from a
string in the href tag, however my sql breaks when i put a var in the statment.
j> when i replace $foo with a number, the page works fine. can someone please t
Hi,
Monday, January 20, 2003, 1:59:17 PM, you wrote:
KJ> Karl
KJ> --
KJ> PHP General Mailing List (http://www.php.net/)
KJ> To unsubscribe, visit: http://www.php.net/unsub.php
its fine ... no html if thats what you mean :)
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
Hi,
Tuesday, January 21, 2003, 7:48:04 PM, you wrote:
S> Hi Group,
S> I basically have some simple code such as:
S> ==
S> if ( $_POST['passwd'] != $db['password']
S> {header("Location: loginfailed.html");
S> }
S> //else
S> $header = "Locatio
Hi,
Wednesday, January 22, 2003, 6:15:36 PM, you wrote:
HJ> Hello, there.
HJ> I'm Looking for 'Mohawk Software session handler functions' examples.
HJ> PHP Manual describes it http://www.php.net/manual/en/ref.msession.php .
HJ> But, There are no descriptions and examples.
HJ> Anybody has one?
Hi,
Wednesday, January 22, 2003, 6:34:45 PM, you wrote:
TR> Hi,
TR> Wednesday, January 22, 2003, 6:15:36 PM, you wrote:
HJ>> Hello, there.
HJ>> I'm Looking for 'Mohawk Software session handler functions' examples.
HJ>> PHP Manual describes it http://www.php.net/manual/en/ref.msession.php .
HJ>
Hi,
Thursday, January 23, 2003, 2:10:05 PM, you wrote:
rsn> I need a way to add a range of IPaddress to a databases the
rsn> example below work as long as the last numbers in the IPaddress
rsn> are equal length like three numbers or two or one. If the first
rsn> IPaddress has 1 nu
Hi,
Thursday, January 23, 2003, 10:47:56 PM, you wrote:
DLM> hello friends,
DLM> I run some queries and output the database fields in a form with text boxes for
the purpose of editing by the administrator. My problem is that if my field value is
of 2 words or more, my output
DLM> text box shows
Hi,
Saturday, January 25, 2003, 4:04:38 AM, you wrote:
ØV> how do i create
ØV> ?
ØV> domxml_new_doc("1.0") only creates
ØV>
ØV> vennlig hilsen
ØV> Øyvind
ØV> STOPP BARNEPORNO PÅ INTERNET:
ØV> Send tips om barneporno til Redd Barna:
ØV> [EMAIL PROTECTED]
ØV> Øyvind Vestavik
ØV> oyvindve at id
Hi,
Sunday, January 26, 2003, 7:58:18 AM, you wrote:
N> Does anyone have a PHP script to enter cron jobs? I have a limited control
N> panel (ensim) that doesn't have anyway to do cron, and I don't know how to
N> do it at the command line yet. Anyone have a good tutorial or a PHP script
N> to do th
Hi,
Sunday, January 26, 2003, 10:02:40 AM, you wrote:
PL> Hello everybody,
PL> I was wondering if someone can tell me how do I XOR a given string with
PL> some hash .. like MD5 hash or something. I know how to do this in C - it's
PL> more than easy but with PHP I can't find a way at all.
PL>
Hi,
Tuesday, January 28, 2003, 12:24:21 PM, you wrote:
LE> Hello,
LE> I present some content of a mysql-table in an html-table. When the query
LE> which collects the content contains few rows I get the amount of space I
LE> want between the output and the above content. But when I get for instanc
1 - 100 of 889 matches
Mail list logo