Well, then, in that case, your original problem about the header() has
nothing to do with an earlier post (about IIS).
Perhaps, you can try installing the latest Apache + the latest PHP and
everything might just work. I've ask a friend to try it on his
Win2K(sp2)+Apache2+php4.2.2 and the code w
try to put any code inside the new class' constructor part,
-> move the this code:
> $DBQuery = new DBQueries; <--- this
> is line 134
> $DBQuery->attrib["type"] = "select";
> $DBQuery->attrib["query"] = "SELECT ID_Secpage, P
this is the form
-- insert.php
Nama Satu
Nama Dua
Nama Tiga
variable and my query --
$Namak = $namasa;
$Namak = $Namak.$namadu;
$Namak = $N
Some quick thoughts:
Is the $Namak variable being correctly passed to the query?
Have you tried to echo out the query just to see precisely what is being passed to
MySQL?
On the first line of the query:
$query ="Insert into Kel (NIP,Id_kel,Nama,Status)";
You might need a space after
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] says...
> I have jsut recently installed a php development kit on my windows platform.
> Im interested in using the session functions but I am recieving this error
> when I use session_start():
>
> Warning: open(/tmp\sess_540ded508edf231c47fe85bd
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] says...
> Hi,
>
> I want to pull information out of my mySQL database and use it as a pull
> down menu ona web page. There are two sets of information that I need, one
> is a color, and the other is the color_id, so I want to use it in the way
>
I'd like to use the crypt() function and have it use Blowfish
encryption. However it seems that my system doesn't support blowfish
encryption since I get:
CRYPT_BLOWFISH = 0
My system is a linux RH7.2 box. How can I make blowfish encryption
available to PHP's crypt?
Jc
--
PHP General Mail
built: php-4.2.2 with openldap 2.0.25
i tried using the ldap_rename function to modify the dn of my ldap db but
nothing seems to happen. the record was not change at all. i have followed
closely the code-snippet that was given by Mr Stig Venaas at:
http://marc.theaimsgroup.com/?l=php-general&m=10
Sorry for the vagueness of the subject line but I wasn't sure what to put.
Here's what I'd like to do:
1- user comes to my web site with normal (non-SSL) connection
2- user enter login name and password
3- data is submitted to a PHP script via SSL connection to same web server
4- PHP script chec
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
says...
> Hi,
>
> I upgraded php from 4.0.4p11 to 4.0.6 with up2date (a RedHat Update
> Agent). The new php includes a huge manual but I cannot find where is
> it after installed, and I don't know how can access it. And more, my free
> disk spac
> My system is a linux RH7.2 box. How can I make blowfish encryption
> available to PHP's crypt?
Use mcrypt. See the manual.
--
Dan Hardiker [[EMAIL PROTECTED]]
ADAM Software & Systems Engineer
First Creative Ltd
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: htt
php-general Digest 14 Aug 2002 09:40:57 - Issue 1524
Topics (messages 112440 through 112504):
Re: File Upload size limit
112440 by: Rasmus Lerdorf
112442 by: Oliver Schönrock
112475 by: RPS Internet
Re: Need a Web Host for php/mySQl
112441 by: vic
11
Dan Hardiker wrote:
>
> Use mcrypt. See the manual.
I don't want to use mcrypt :) It requires me install a separate library.
Or do you mean that the only to get crypt() to use Blowfish is to
install mcrypt?
What does crypt() require, on a RH7.2 Linux machine, in order to use
Blowfish?
Jc
Hi,
All you need is:
https://domain/filename method=post>
https is for SSL.
Wayne
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Daniel Canil wrote:
> I have jsut recently installed a php development kit on my windows platform.
> Im interested in using the session functions but I am recieving this error
> when I use session_start():
>
> Warning: open(/tmp\sess_540ded508edf231c47fe85bd970f936a, O_RDWR) failed: m
> (2) in d:
If I understand what you're trying to do, just put an identifier in the url,
and on the page you link to, use an if statement to display the part you
want.
eg
email form
Forum
and on the 'newpage.php'
if($content == "emailform") {
//Put your stuff to be displayed here
}
elseif ($conte
Hello,
Is it possible to set to null (or destroy) the session variables when I
close IE ?
Bye
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Wayne wrote:
>
> All you need is:
> https://domain/filename method=post>
Sounds too easy, there must be a catch ;)
Thanks!
Jc
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
hi there i was wondering how i could fopen a directory and then sort the
files by date modified is there a way ?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
checkout:
opendir()
readdir()
fstat()
closedir()
Elias
"Electroteque" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> hi there i was wondering how i could fopen a directory and then sort the
> files by date modified is there a way ?
>
>
--
PHP General Mail
give this query:
SELECT
table_routing.id AS routeid,
table_pricing.units AS price,
table_routing.providerAS providerid,
table_country.nameAS countryname,
table_country.id AS country
Hello,
I'd like to know why this code not work :
case " ":
include("act_create_new_compte.php");
header("Location: ../manager/index.php");
break;
I receive this error :
Warning: Cannot add header information - headers already sent by (output
started at
d:\inetpub\wwwro
Hello,
Is it possible to set to null (or destroy) the session variables when I
close IE ?
Bye
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi Christian
I suspect act_create_new_compte.php is sending headers. Once HTTP headers have
been sent, and HTML has started to be sent, you can send no more headers.
Try using another method of causing the browser to reload - maybe a META tag?
(urgh).
Peter.
On Wed, 14 Aug 2002, Christian I
I have just installed Redhat Linux 7.2, the installation was fine at it
installed apache with php 4.0.6 as default, that runs without problems.
Unfortunately I noticed that PHP was not compiled with mysql support and
there was no distribution of mysql with linux so please can anyone help by
explai
Hi all,
I'm attempting to store variables inside a database and then recall them.
What I want to do is store them dynamically though - so for instance - a
path to a file will be stored in the DB as
$_SERVER[DOCUMENT_ROOT]."/path/to/file"
But, obviously, when I retrieve this value, it retrieves
Op woensdag 14 augustus 2002 13:04, schreef electroteque:
> hi there i was wondering how i could fopen a directory and then sort the
> files by date modified is there a way ?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
You may add "\$_SERVER[DOCUMENT_ROOT].\"/path/to/file\"" to the database
and then use eval() to evaluate. The better solution is obviously to
store "/path/to/file" and append it to $_SERVER[DOCUMENT_ROOT] whenever
you need the full path.
Bogdan
Michael Hazelden wrote:
> Hi all,
>
> I'm attem
Justin, Michael, et al --
...and then Michael Sims said...
%
% On Wed, 14 Aug 2002 01:09:32 +1000, you wrote:
%
% >I was hoping that maybe there's an opensource or commercial product out
% >there that I can install in my doc root (ie, PHP + MySQL support) which will
% >handle this in a more eff
Thanks to all,
What I've come up with in the end (since I want the flexibility of being
able to store the $_SERVER portion or not depending on the need of the
variable) is this:
I retrieve the variable from the database in the following way:
select concatenate('$',name,'=',value,';') as a from
Hi!
Can anyone recommend me some entry-level php-classes tutorials, because
the php.net page about classes is not that helpful and difficult to
understand IMO.
Thanks in advance,
- Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Afaik, the session will die automatically when IE gets closed.
Or at least the cookie that links to that session.
Elias
"Christian Ista" <[EMAIL PROTECTED]> wrote in message
000101c24384$442ab9b0$c000a8c0@p3portable">news:000101c24384$442ab9b0$c000a8c0@p3portable...
> Hello,
>
> Is it possible t
On Wednesday 14 August 2002 19:21, Tim Haynes wrote:
> I have just installed Redhat Linux 7.2, the installation was fine at it
> installed apache with php 4.0.6 as default, that runs without problems.
> Unfortunately I noticed that PHP was not compiled with mysql support and
> there was no distrib
Hi
Can anyone tell me if Voice Over IP is possible in PHP. Such that a client machine
can voice chat to My apache Web Server. I want this to be done via web based so that
the client has no overhead of installing any softwares.
Regards
Hi all,
I use following script to generate a resized png image on the fly. I tried
for several hours and found that it
not works for every png image. And finally i found that the
imagecreatfrompng() only works for 24bits png.
i.e my script does not works on my abc.png which is 8bpp(bitsperpixel),
Umm, I'm fairly sure you can't do this unless you wanted
to rig up a client side application in PHP, but if you want
it so they don't have to get any software, I would suggest
Java, check out www.dialpad.com they do something fairly cool
like this.
Adam Voigt
[EMAIL PROTECTED]
On Wed, 2002-08-14
Is it possible to set the line number and file name to show in error
messages?
I'm looking for something similar to the perl's expression
#line 298 myscript.pl
which tells the compiler explicitely that here is line 298 of myscript.pl.
If an error occurs 5 lines later, it would show something
> Is it possible to set the line number and file name to show in error
> messages?
__FILE__
__LINE__
Chris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi there,
I'm forgetting something, but I can't seem to get to it... Consider the
following Class.
class Test
{
var $a;
var $b;
function Test()
{
$this->a = 2;
$this->b = 5;
}
function Show()
{
Usually in the RedHat cd´s you can find php-mysql-*.*.rpm, after
installing this package you´re ready to go !!
=> Daniel.
On Wednesday 14 August 2002 19:21, Tim Haynes wrote:
> I have just installed Redhat Linux 7.2, the installation was fine at
> it installed apache with php 4.0.6 as default
Not done any OO stuff with PHP, but I would hazard a guess that the
problem is one of scope.
Rather than global making available class variables, it makes available
GLOBAL variables. And I'm guessing there isn't a global variable a or b,
which is why they show up blank.
HTH,
Richy
=
$TEST= new TEST;
$a=3;
$b=4;
$TEST->Show();
works, fine
better to use $GLOBALS['a'] instead of global $a
Op woensdag 14 augustus 2002 15:27, schreef Tim Stoop:
> Hi there,
>
> I'm forgetting something, but I can't seem to get to it... Consider the
> following Class.
>
> class Test
> {
>
hmmmwhat are you missing?
globals $a and $b are not defined!
try to set error reporting to E_ALL and try running your code again.
Elias
"Tim Stoop" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi there,
>
> I'm forgetting something, but I can't seem t
I am running a website which generates around 100,000 pageviews a day and I
am wondering if I stop using persistent conections to the database and use
normal open and close conections this would reduce the load onto my server?
Most conections are either made through my "main" file or the phorum m
On Tue, Aug 13, 2002 at 10:07:57AM -0700, Rasmus Lerdorf wrote:
> > while ( list($Key, $Val) = each($_SESSION) ) {
> > $$Key = $Val;
> > }
>
> extract($_SESSION) is a better way to do that.
Yeah. Old habits die hard! :)
--Dan
--
PHP classes that make web desi
Hello,
while I'm building a very nive page for buying images over the web, but there are some
parts of the site where the development not is evaluated to the end. (Hope you all
understand this sentence.)
One part will be the payment module. I read the parts about the creditcard security in
th
INTRODUCTION
eNetwizard is a cutting-edge web application server and content
management system. It includes an advanced runtime engine capable of
rendering and managing an unlimited number of websites across an
unlimited number of domains (referred to as the matrix), all from a
central web space
As far as I know, __LINE__ and __FILE__ are "magic constants" which return
the current line number and file name.
But what I'm looking for is a way to set these two things. I want to say on
line 30 that this is not line 30, but line 40 for example. And php should
then return all following errors
You have a while loop that pulls values out of the MySQL table row by row,
and for each row, you output an option in the select box.
Something like:
{$color}";
}
?>
Season to taste :)
Justin French
on 14/08/02 2:30 PM, Brian & Shannon Windsor ([EMAIL PROTECTED])
wrote:
> Hi,
>
> I
> As far as I know, __LINE__ and __FILE__ are "magic constants" which
> return the current line number and file name.
Sorry, I misunderstood exactly what you were looking for.
> whole script. If now an error occurs on line 362 for example, it is
> not easy to find the buggy code part, because t
sweet , damn filemtime this was hiding from me :)
-Original Message-
From: Bas Jobsen [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 14, 2002 8:48 PM
To: electroteque; [EMAIL PROTECTED]
Subject: Re: [PHP] fopen and sort by date modified
Op woensdag 14 augustus 2002 13:04, schreef el
Thanks for your help
Thats what I am trying to do but the variable $content does not get over to
newpage.php
- Original Message -
From: "Moose Magin" <[EMAIL PROTECTED]>
To: "Gui Guy" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, August 14, 2002 3:52 AM
Subject: RE: [PHP]
> How do you include the source scripts into the main scripts? By using
> include() or require()? IIRC, __LINE__ and __FILE__ should work in
> cases like that telling you the line and file name of the source script,
> not the main script.
Unfortunately none of them. I really put them together i
unfortunately this isnt sorting by date modified ?
-Original Message-
From: Bas Jobsen [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 14, 2002 8:48 PM
To: electroteque; [EMAIL PROTECTED]
Subject: Re: [PHP] fopen and sort by date modified
Op woensdag 14 augustus 2002 13:04, schreef e
Hi all,
I am not 100% sure if this is a PHP problem, so I apologize in advance if
it is an off-topic problem.
I have a Linux server where I develop my websites. A Windows 2000 takes
care of our network internet connectivity. I need to show to a client the
progress of our work, so I've shar
Hi all,
I am not 100% sure if this is a PHP problem, so I apologize in advance if
it is an off-topic problem.
I have a Linux server where I develop my websites. A Windows 2000 takes
care of our network internet connectivity. I need to show to a client the
progress of our work, so I've shar
Hi
Anyone know of a online petition system in PHP similar to what is offered on
www.PetitionOnline.com
Thanks
Mohamed
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Wed, Aug 14, 2002 at 02:18:58AM -0700, Roger Thomas wrote:
> built: php-4.2.2 with openldap 2.0.25
>
> i tried using the ldap_rename function to modify the dn of my ldap db but
> nothing seems to happen. the record was not change at all. i have followed
> closely the code-snippet that was give
as part of a larger application we have a bit of code that processes whois to
determine domain name expiry dates. Most formats are easily parsed, but
Register.Com has thrown the little regex for a loop and I am unsure as to a
clean workaround.
Here is what we have;
...
$pregmatchstrin
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (Michael Geary) wrote:
> I have been asked by a rep at a large software dev company about any
> websites live-to-the-world running OS X. We are, but we're not exactly
> huge (max hits/day = approx. 1000, mostly internal).
>
> So, what sites are
I'm trying to send email from php and nothing happens. Sendmail is
correctly setup in php.ini.
When I checked the maillog file I see:
...: SYSERR(nobody): Can't create transcript file ./xfg7E9Jlr03988:
Permission denied
: SYSERR(nobody): Cannot create ./dfg7E9Jlr03988: Permission denied
Doe
Hi, I have a question about fgets(), it seems to pick up an extra line
at the end of a text file.
example, I open a new file named "test" with the vi editor and make it 8
lines long like so (showing newlines as \n):
1\n
2\n
3\n
4\n
5\n
6\n
7\n
8\n
I create this PHP program and run it:
Here
Hi, I don't think this is a PHP question, but the line
Alias /cs/ //192.168.0.253/apachedir/
try
Alias /cs/ \\192.168.0.253/apachedir/
Because //isn't valid for UNCs, but \\ is..
If this doesn't work, then with dos map \\192.168.0.253/apachedir/ to a
network drive and point apache at that
Andre
The only explaination is that 'vi' is putting an extra line in there that
you're not seeing.
-Kevin
- Original Message -
From: "Monte Ohrt" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, August 14, 2002 11:05 AM
Subject: [PHP] fgets question
> Hi, I have a question about f
Is there a function that can detect if anyone has closed
the browser?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Sorry I din't quite phrase that right... Here goes I am
manipulating variables according to various user reactions...
I want to be able to alter a certain variable to its default
if the user decides to say, well
"to hell with it" and closes his browser...
Are there any php functions that would d
> Is there a function that can detect if anyone has closed
> the browser?
Not in PHP. You can using JavaScript, however.
Chris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Is it a good idea to always use addslashes() on a
value gathered from a text field or textarea?
If you use addslashes() to "INSERT" the stuff into a
db, should you always use stripslashes() when you
"SELECT" it from the database?
tia,
--ed
__
Do
And still, if this doesn't work, why not install PHP as well--with
Apache... (Perhaps, there must really be some good reason why not...)
I'm not sure what was meant by
> > A Windows 2000 takes
> > care of our network internet connectivity
but if a router is present, why not just map HTTP reques
> -Original Message-
> From: ed [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, August 14, 2002 1:48 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] addslashes() and stripslashes()
>
>
> Is it a good idea to always use addslashes() on a
> value gathered from a text field or textarea?
Yes, a
"Chris Boget" <[EMAIL PROTECTED]> wrote in message
075f01c243ba$2a9d11b0$8c01a8c0@ENTROPY">news:075f01c243ba$2a9d11b0$8c01a8c0@ENTROPY...
> > Is there a function that can detect if anyone has closed
> > the browser?
>
> Not in PHP. You can using JavaScript, however.
>
> Chris
>
Thanks for the pr
> Thanks for the prompt response... Would this mean I would
> embedd the Java Script in my php Script and alter the php
> variable accordingly...
No, because JS is client side and PHP is server side. What
you would need to do is have JS detect when the browser
closed and make one last server
That was my first thought but that wasn't it. To be sure, I urlencoded
the file and looked at it:
1%0A2%0A3%0A4%0A5%0A6%0A7%0A8%0A
No extra newlines that I could see.
FYI, if you run the program from the command line, you have to pipe the
output to a pager or you will not see the last (extra)
does anybody now a way in php to read out,
how many files are in a directory
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I would like to know, what I have to do to make my application handle
multiple connections?
My current application only handle one user per time.
Sorry about my English, but i live in Brazil, if anybody could help me
answer me [EMAIL PROTECTED] .
Thanky you
--
PHP General Mailing List (htt
[snip]
1%0A2%0A3%0A4%0A5%0A6%0A7%0A8%0A
No extra newlines that I could see.
>>
>>1\n
>>2\n
>>3\n
>>4\n
>>5\n
>>6\n
>>7\n
>>8\n
>>
>>I create this PHP program and run it:
>>
>>>$fd = fopen ("test","r");
>>while (!feof ($fd)) {
>> $buffer = fgets($fd, 4096);
>> echo "buffer is $buffer";
>>}
rite,
without access to the php.ini file, how can i get php to print all errors on
my web server. it runs linux
--
Regards,
Georgie Casey
[EMAIL PROTECTED]
***
http://www.filmfind.tv
Online Film Production Directory
***
--
PHP General Mailing L
I guess you could search for "petition" on hotscripts.com but it could
take you longer to find and configure one properly, than making your own
one.
C.
> -Original Message-
> From: M.E. Suliman [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, August 14, 2002 1:04 PM
> To: [EMAIL PROTECTED]
Hi Monte,
> Hi, I have a question about fgets(), it seems to pick up an extra line
> at the end of a text file.
...
> 8\n
...
> Here is the output (showing newlines as \n):
> buffer is 1\n
> buffer is 2\n
> buffer is 3\n
> buffer is 4\n
> buffer is 5\n
> buffer is 6\n
> buffer is 7\n
> buffer is
Op woensdag 14 augustus 2002 20:00, schreef Harry.de:
> does anybody now a way in php to read out,
> how many files are in a directory
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
start your file with :
error_reporting(E_ALL);
Op woensdag 14 augustus 2002 20:09, schreef Georgie Casey:
> rite,
>
> without access to the php.ini file, how can i get php to print all errors
> on my web server. it runs linux
> --
> Regards,
> Georgie Casey
> [EMAIL PROTECTED]
>
> ***
> // Note that !== did not exist until 4.0.0-RC2
I took a quick look at the docs to find out what !== meant
(because I'd never seen it before). I'm not sure I understand
what it's use is. Could someone explain why you would use
it and for what purpose?
I couldn't really infer from the example
';
if(empty($verif)){
Display Some message...
$counter++;
fputs($file, "\r\n");
}
else{
Display SomeOther message...
$counter++;
fputs($file, "\r\n");
}
}
else{
reset counter to 0
destroy session...
}
I want this set up such that gi
Hi,
I am having a problem with $_POST which I will explain below. My
configuration is Redhat 7.3 Linux 2.4.18 with Apache 2.0.39, PHP 4.2.2,
and MySQL 3.23.49.
I have an SQL table which was created by:
CREATE TABLE testTable (id nut null primary key aut_increment, testField
varchar (75));
I h
Hello, To begin.. i'm new to the list...
I'm trying to learn good practices in OOP based PHP. I'm actually a bit new
to OOP in general, but I've done quite a bit of reading and playing around
with it in the past couple of months.
What I'm trying to figure out is the proper way to call a class
Persistent connections are typically a good thing to use on high traffic
sites as they offer better performance than opening and closing connections
for each database request. The reason for this is the overhead used in
opening a database connection is actually quite high.
While keeping them o
[snip]
> // Note that !== did not exist until 4.0.0-RC2
I took a quick look at the docs to find out what !== meant
(because I'd never seen it before). I'm not sure I understand
what it's use is. Could someone explain why you would use
it and for what purpose?
[/snip]
$a !== $b Not identical TR
I would suggest you write a method (called mydb() for example) that connects
to your database, and if needed, call it from your constructor like:
$this->mydb(); This way you can always reuse the method from other code.
hth,
Steve.
-Original Message-
From: Mark Armendariz [mailto:[EMAIL P
If you are just trying to access a classes functions without creating an
instance of it you're probably looking to use the scope resolution operator
::. For this to work all you have to do is ensure that the definition for
the class you wish to use is included into the file containing the clas
I don't have the option of editing the text files to work right. I want
to be able to read an arbitrary text file line by line and process each
one. So I suppose I could do this (?)
DL Neil wrote:
> Hi Monte,
>
>
>>Hi, I have a question about fgets(), it seems to pick up an extra line
>>at
Here is an example that might help.
$a = 1;
if($a)
echo '1';
if($a == true)
echo '2';
if($a === true)
echo '3';
The first and second conditional statements execute but the third doesn't.
This is because $a evaluates to true but is not of type 'boolean'. === and
!== not only compa
I have a program containing an array called $thisArray. At some point
in the program, the value of next($thisArray) is an array ($subArray).
How can I echo the name of the of the second array (subArray)? The name
of the sub array may change at any time, so I can't just hard code it.
Thanks i
Well, I actually have a full db class which has a connect and close method
as well as query, fetch_array, etc... What I really want to know is how to
use the methods in my db class from another class (myclass for example)..
Do I include the db class from the myclass constructor and then set a
my
That seems more like what I'm looking for..
Thank you, Nick...
Mark
"Nick Oostveen" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> If you are just trying to access a classes functions without creating an
> instance of it you're probably looking to use the
i got 2 problems with this code:
ServerStatusPopulation<
/TR>\n";
print "$da_server";
if ($da_type) { print "($da_type)"; }
print "";
print "$da_status";
print "$da_population\n";
print "\n";
print
"LastguildupdateLastcharupdate<
/TR>\n";
print
"$da_lastguildupdate$da_lastcharupda
To Match: Tue, Jul 29, 2003
> $pregmatchstring="/([\s])*(Renewal\DDate|Registered\sthrough|Expires|Record
>\sExp ires|Domain\sExpires|Expiry\sDate)([\D\s]*)(.*)/i";
You can change the last part of $pregmatchstring in:
Expiry\sDate)([\D\s]*|\w{3},\s\w{3}\s\d{2},\s\d{4})(.*)/i";
You can f
Do you know where I can find more info on how to use the scope resolution
operator?
My searches aren't giving much (at leant not mcuh regarding php) and in the
manual, it only shows up momentarily as a note in the operators section...
Mark
"Nick Oostveen" <[EMAIL PROTECTED]> wrote in message
may i use php with JAVA (note. not JAVASCRIPT , but JAVA APPLETS) !?!
any helps !?
thx
xanda
@ Edwin em Wednesday 14 August 2002 14:51 foi agraciado com uma resposta
por:
> And still, if this doesn't work, why not install PHP as well--with
> Apache... (Perhaps, there must really be some good reason why not...)
Yes ;-)
It connects to 12 different mysql databases and has a few Linux
> How can I echo the name of the of the second array (subArray)? The name
for value
array('1','2'.'3'),
'c'=>array('6','5'.'4'),
'd'=>array('8','9'.'10'),
);
$r=next($test);
echo $r[0].' or :'."\n";
foreach
1 - 100 of 215 matches
Mail list logo