http://phorum.org
- Original Message -
From: "Martin Thoma" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June 19, 2002 5:43 AM
Subject: [PHP] Forum with php
> Hello! I saw a lot of forums (or boards) which looks almost the same and
> they are done in php. Is there a fr
using the ip
var ip = '';
in script I get one IP address NOT the same with this one that gives
me the program and it is allways the same (I have dynamic access
so my IP must vary)
I think it is the IP of my host.
Can't I get my real IP number?
Thanks
Makis
--
PHP General Mailing List
For a strange reason iframes DOESN'T work with shtml.
(doen't pass the var ip = '';
as parameter with a FORM/POST to a php script. It shows is but it doesn't
pass it!)
I had to change them to FRAMEs.
Makis
> -Original Message-
> From: Analysis & Solutions [mailto:[EMAIL
PHPBB
Use google to search :o)
"Martin Thoma" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hello! I saw a lot of forums (or boards) which looks almost the same and
> they are done in php. Is there a free forum-software in php?
>
> Martin
>
>
--
PHP Gene
At a guess, without trying it out
$fp = fopen("your file") or echo "Cant open your file";
$tmp = fread($fp,1024);
preg_match("/(.{8}).(.{5})/",$tmp,$matches);
then $matches[1] will have the first part
and $matches[2] will have the second
note: $matches[0] = whole preg'd text
"Sonjaya" <[EMAIL P
This is funny -- I see $_SERVER["HTTP_UA_OS"] in the output of phpinfo(),
and naturally assumed it was part of the $_SERVER superglobal array.
This definitely isn't the first time I've seen a discrepancy between what
phpinfo() shows in terms of server/apache/environment variables, and what
you ca
You could do it using the substring it you ALWAYS for each line want the characters at
that exact location.
$moo = "1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ";
$partition = substr($moo, 9, 5);
this would return 5 characters from position 9 in the string which would be:
0ABCD
hope this helps...
>
does... $_SERVER["HTTP_UA_OS"] exist?
I can't see that ne where and when I try to use it t's blank...
Also... I was using that as an example to put him on the right track... afterall
nuthing is learnt if your given it on a plate...
if you want the exact OS, you need to extract it from
$user
Hello! I saw a lot of forums (or boards) which looks almost the same and
they are done in php. Is there a free forum-software in php?
Martin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[EMAIL PROTECTED] (Sonjaya) wrote:
> i want read some tex like this
>
> here contens file text
>
> 1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ
>
>
> 1. i want read from first left until eight caracter (12345678 <--
> caracter i cant read )
> it can be use fread
> 2. i want read 5
Hi all,
I'm doing this query and looping through the results:
$result_ID_ID=mysql_query($gallery_list_query) OR die(mysql_error());
$counter=0;
while ($queryresult_IDresult=mysql_fetch_array($result_ID_ID))
{
$result_array['$counter']=$queryresult_IDresult;
if ($result_array['$counter
i want read some tex like this
here contens file text
1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ
1. i want read from first left until eight caracter (12345678 <--
caracter i cant read )
it can be use fread
2. i want read 5 from nine (9) caracter from left ( 0ABCD <--the
caracter must i re
i want read some tex like this
here contens file text
1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ
1. i want read from first left until eight caracter (12345678 <--
caracter i cant read )
it can be use fread
2. i want read 5 from nine (9) caracter from left ( 0ABCD <--the
caracter must i re
Edy,
If you're referring to the OS a visitor to your site is using (not the OS
your PHP is running on, which you probably know), you'd want:
$_SERVER["HTTP_UA_OS"]
-Clay
> From: "Brian McGarvie" <[EMAIL PROTECTED]>
> Date: Wed, 19 Jun 2002 09:54:39 +0100
> To: èdy kurniawan <[EMAIL PROTEC
$_ENV["OS"]
(see MANUAL for more that you can capture!)
> -Original Message-
> From: èdy kurniawan [mailto:[EMAIL PROTECTED]]
> Sent: 19 June 2002 9:44 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] catch the client OS user logon from php script
>
>
> Dear PHP-ers,
>
> How can I capture
Look at a phpinfo(); page. All of the variables you can get are shown
there. Look for the one you want.
---John Holmes...
> -Original Message-
> From: èdy kurniawan [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, June 19, 2002 4:44 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] catch the clie
Hi!
i'm making some modular aplication. I have one base class for
example:
class Main {
function loadmod($name,&$mod) {
$mod = new $name; // load module
}
}
In module class i want to use some properties from main
module, but i don't know how to solve this. But i don't want
extend a
Dear PHP-ers,
How can I capture my client OS user logon via PHP script ?
TIA,
edyk
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Because that's how they get there!
"Analysis & Solutions" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hail, BB:
>
> On Tue, Jun 18, 2002 at 12:37:29PM +0100, BB wrote:
> >
> > Having finally found out how to pass the Environment vars onto PHP, I am
> > stum
Sorry... michi..
I've ignored your advice to quote the script as :
> 3.
> you have to quote "v$session": "v\$session"
-
yeah.. the script is work when I change the script right below :
$query = "Select OSUSER
>From v\$session
Where USERNAME = (Select USER From DUAL)
And AUDSID =(Select USE
Try the error_reporting function, which is also
a PHP directive in php.ini
http://www.php.net/manual/en/features.error-handling.php
http://www.php.net/error_reporting
Although you should just fix the errors ;)
Regards,
Philip Olson
On Wed, 19 Jun 2002, Shashwat Nagpal wrote:
> Hi! I did
Hi! I did some code, and I am getting warning messages everywhr, I know thr
is a code for it, can u help me? I forgot that msg.
keep in mind, I don't have the xs to php.ini... pls. tell me the settings
for the code file itself..
thanks.
--
_
Shashwat Nag
Hello. I think nobody had send this warnig to the list. Sorry if you
already nows.
This text is from the apache web:
SECURITY ADVISORY
Versions of the Apache web server up to and including 1.3.24 and 2.0 up
to and including 2.0.36 contain a bug in the routines which deal with
invalid request
[Sorry about replying to my own thread here]
I've looked in php_mysql.c in the PHP source distribution, and it looks like
the "mysql." php.ini variables that are recognized are hard-coded.
Okay ... Is there any other way to get PHP to pick up these three values?
My understanding of how the
no you can't use SSI in your PHP files, but u can use commands like
include(); to include a file in ur program, and other functions for
different uses. to know more go through php.net.. it's the best resource.
Cheers!
Shashwat Nagpal
Web Developer & IS Executive,
DIREM Marketing Services Pvt. L
where i find the free project web site that i search , especially with PHP
and database web site ?? because iam a freelance programmer , i need more
project ?
Roy Daniel , ST
IT Developer System - PT BERCA COMPUTEL
My E-mail : [EMAIL PROTECTED]
and : [EMAIL PROTECTED] / [EMAIL PROTECTED]
My ICQNu
26 matches
Mail list logo