I tried ini_set('session.use_only_cookies', "1").
I also tried ini_set('session.use-trans-sid', 0). Right after I made the
change, the sid was gone, urls didn't contain it anymore, BUT, the next
day, today, when I accessed the site from my office (another computer),
the SID is there again!
And thi
GH wrote:
With the following code, I am getting the following message
Parse error: parse error, expecting `')'' in
/var/www/html/cert/admin_template.php on line 30
Line 30 Reads as follows:
foreach($admin_get_options_result as $api => $file, $desc)
Your syntax is incorrect on this
Hello all,
I have to find and put one line of an html file in a variable. I already
have the entire html file stored in a variable like this:
$myHTML="blah blah blah"; - Grabbed using cURL
The particular line I want will *always* contain the string
"the_identifying_string"
So the line itself (
Hi All,
I'm developing a wiki-esque application for an in-house project and am
wondering how others go about resolving potential conflicts when multiple
users are editing the same content drawn from a MySQL database?
In particular, I'm working on code that allows users to rename 'pages' (ie
-
User8 is [EMAIL PROTECTED] * [EMAIL PROTECTED]
User8 using arcor.de.eu.dal.net www.arcor.de - Arcor Online Serv
On Mon, 11 Oct 2004 23:34:18 +0530, Sagar C Nannapaneni
<[EMAIL PROTECTED]> wrote:
> You can use SMSTERM
>
> /sagar
>
>
> - Original Message -
> From: "SunTan.co.uk" <[EMAI
What is a "connect_db" file?
- Original Message -
From: "bigmark" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, October 10, 2004 11:33 PM
Subject: Re: [PHP] forms
Thanks-- i got that going-GREAT ! now i have a form that creates the
database and tables, any ideas how i can ge
Well, you can just put up a regular form, something to the effect of
Hostname
User Name
Password
...
...
...
etc.
and when you submit that form, those variables will be accessible under the
$_POST array
such as
$hostName = $_POST['Hostname'];
$userName=$_POST['username'];
etc.
NOTE that doing
the ", $desc)" is your culprit.
foreach ($arrayVariable as $key=>$value)
is probably the form you meant.
foreach ($admin_get_options_result as $api =>$file, $desc)
what is $api, $file, $desc supposed to be? If I were to hazard a guess, is
the $admin... array a nested array, something like
$admin
If you don't mind NOT using regex or regular expression searching commands,
you can try it this way.
Assuming that there is a carriage break(e.g. "\r\n" if windows, and I'm
assuming the HTML file was written in windows, otherwise, just "\n" for Unix
and "\n\r" for Mac, I believe).
$eolnString
This is a test e-mail, please disregard
Never mind guys, I figured it out. I appreciate your help. Thanks for
everything!
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Sunday, October 10, 2004 10:43 PM
To: [EMAIL PROTECTED]
Subject: [PHP]
Thanks to all of you for your explanation of my method. Min
hi,
i face a problem with curl. i have a certificate file (certificate.cer)
and i use the follow code :
$ch = curl_init();
$cert = "certificate.cer";
curl_setopt($ch, CURLOPT_URL,$url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);
curl_setopt($ch, CURLOPT_TIMEOUT, 10);
curl_setopt ($ch, CURLOPT_SS
Hi John,
Thank you for replying.
>> once a person submits a site, they are doing 2
things
>> that totally puzzle me,
>> 1.showing the number of "outgoing links"
> Middle man. You have them click on a link containing
> an ID, increment
> the counter for that ID, then forward them to the
> reque
Hi guys,
I have a new need here...,
I have some 3 gmail accounts which are filled up with some 800MB stuff useful each
like MySQl and PHP ,Linux ,What I wanted is a search
I have my home page in my Intranet, I want to put a search their, What it should do is
take the search quer
On Monday 11 October 2004 19:41, [EMAIL PROTECTED] wrote:
> Never mind guys, I figured it out. I appreciate your help. Thanks for
> everything!
Next time you start a thread please give it a meaningful subject.
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems
[snip]
>
> This is how far I have come trying to imitate the
> above: (Its not working of course :-) )
>
> $url=fsockopen('http://www.jumac.com/');
> $html = implode('', file("$url")); //put the page
> source in a string
>
> //find the links and put them in an array
> $links = array();
> if (pre
On Sun, 10 Oct 2004 15:23:54 +0100, Andrew Cowles
<[EMAIL PROTECTED]> wrote:
> We operate an SMS Gateway service (http://www.kapow.co.uk/) which would do
> exactly what you need.
> It's been reliably sending SMS since 1995 - and MANY of our clients use PHP.
Unfoturnately your price list is only i
I had this problem in the past, and asking the PHP people, found that
"session.use_trans_sid is PHP_INI_DIR for PHP 4 and PHP_INI_ALL for
PHP
5." That is the response I received from a bug I submited some time
ago http://bugs.php.net/bug.php?id=28991
So, You're setting user_trans_sid with ini_set
* and then Minuk Choi declared
> If you don't mind NOT using regex or regular expression searching commands,
> you can try it this way.
>
> Assuming that there is a carriage break(e.g. "\r\n" if windows, and I'm
> assuming the HTML file was written in windows, otherwise, just "\n" for
t
Hi,
I am using a statement like this
$url=file_get_contents("http://www.yahoo.com/";);
The thing is, it takes quite some time (2-5 secs)
before the contents are in my program (I am using my
local webserver on my desktop for testing...not a
webserver)
My questions are for you more experienced guy
Hello,
If im using cURL to grab pages, i like to set a $referer and $userAgent
string. Easy enough right?
If I do not encode the referer and ua strings my cURL functions do not
seem to work, BUT, if I *do* encode them, they come out looking like
this in the server logs..
Mozilla%2F4.0%20%28comp
Hi all,
I have a select/option that gets populated with countries. The value of
these option are also set to the country name. The problem i have is
that some countries have spaces in them
eg: United States of America.
When the form is posted and I echo the country variable out that has
been po
> Mozilla%2F4.0%20%28compatible%3B%20MSIE%206.0%3B%20Windows%20NT%205.1%0A
>
> that one is using rawurlencode() but it's just as bad with urlencode -
> How *should* I be doing this?
is this how you tried to do it?
$userAgent = "Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)";
curl_setopt($c
* and then Matt M. declared
> > Mozilla%2F4.0%20%28compatible%3B%20MSIE%206.0%3B%20Windows%20NT%205.1%0A
> >
> > that one is using rawurlencode() but it's just as bad with urlencode -
> > How *should* I be doing this?
>
> is this how you tried to do it?
>
> $userAgent = "Mozilla/4.0 (compat
> I have a select/option that gets populated with countries. The value of
> these option are also set to the country name. The problem i have is
> that some countries have spaces in them
>
> eg: United States of America.
what doe your select loo like? something like this should work
United Sta
> I have a select/option that gets populated with countries. The value of
> these option are also set to the country name. The problem i have is
> that some countries have spaces in them
>
> eg: United States of America.
>
> When the form is posted and I echo the country variable out that has
> bee
Another suggestion is to use country codes - generally accepted by most i.e.
uk, us, ch, cn, za etc
> -Original Message-
> From: Matt M. [mailto:[EMAIL PROTECTED]
> Sent: 11 October 2004 15:42
> To: Angelo Zanetti
> Cc: [EMAIL PROTECTED]
> Subject: Re: [PHP] spaces in select
>
> > I have
ok thanks to those who responded:
this is how i got it working:
echo("" .
trim($row['location']) . "");
Angelo
>>> Dan Joseph <[EMAIL PROTECTED]> 10/11/2004 4:43:56 PM >>>
> I have a select/option that gets populated with countries. The value
of
> these option are also set to the coun
Greetings:
I am having a problem with trying to get data out of my mySql database.
I run my query which works fine and everything...
I use:
$admin_get_options_query_text = "Select * from adminpage";
$admin_get_options_results_reference =
mysql_query($admin_get_options_query_text,$db_acc
On Mon, 11 Oct 2004 10:58:45 -0400, GH <[EMAIL PROTECTED]> wrote:
> my problem is that I would like to get that output into my php
> codeI would like to have something that goes like this for each
> record..
>
> The api# $adminpageid allows you to $description, and uses the file #file_name
>
Hi,
You need to loop through the returned recordset and use the returned
result(s).
Instead of:
$admin_get_options_result =
mysql_fetch_assoc($admin_get_options_results_reference);
Try:
While ($admin_get_options_result =
mysql_fetch_assoc($admin_get_options_results_reference)){
echo "
Angelo Zanetti wrote:
Hi all,
I have a select/option that gets populated with countries. The value of
these option are also set to the country name. The problem i have is
that some countries have spaces in them
eg: United States of America.
When the form is posted and I echo the country variable
On Mon, 11 Oct 2004 07:24:03 -0700 (PDT), Mag <[EMAIL PROTECTED]> wrote:
> $url=file_get_contents("http://www.yahoo.com/";);
>
> The thing is, it takes quite some time (2-5 secs)
> before the contents are in my program (I am using my
> local webserver on my desktop for testing...not a
> webserver)
GH wrote:
Greetings:
I am having a problem with trying to get data out of my mySql database.
I run my query which works fine and everything...
I use:
$admin_get_options_query_text = "Select * from adminpage";
$admin_get_options_results_reference =
mysql_query($admin_get_options_query_text,
Thank You Murray's suggestion worked
On Mon, 11 Oct 2004 11:20:57 -0400, John Nichel <[EMAIL PROTECTED]> wrote:
> GH wrote:
> > Greetings:
> >
> > I am having a problem with trying to get data out of my mySql database.
> >
> > I run my query which works fine and everything...
> >
> > I use:
Now I m perplexed time 10!
I run the code that follows this time providing a query string
of admin_template.php?api=101
I have an if statement that tests if $_GET['api'] == 0 if it is
true I have it listing options, else it queries the database with that
ID and loads the associated fi
Hey,
> On Mon, 11 Oct 2004 07:24:03 -0700 (PDT), Mag
> <[EMAIL PROTECTED]> wrote:
> > $url=file_get_contents("http://www.yahoo.com/";);
> >
> > The thing is, it takes quite some time (2-5 secs)
> > before the contents are in my program (I am using
> my
> > local webserver on my desktop for testi
Dear You,
When disable the globals varibles function, the following php can't be
good for working :
upload1.htm
getfile1.php
";
echo "File Size:$upfile_size";
echo "File Type:$upfile_type";
echo "Temp File:$upfile";
copy($upfile, "/tmp/$upfile_name");
?>
Thank for your help !
Edward.
I"m kinda bummed, I tried to us it last night and discovered I could
not use it because Pair Networks disables the ability, can't include
either.
from their newsletter:
"Lately, the most common method of exploit has been to pass a variable
to a PHP script which does not sufficiently check the v
Harlequin wrote:
Bruno
I'm still rather new to PHP so I use client side Java:
you are not using java you are using javascript.
[CODE]
Click Here To Print This Page:
[/CODE]
That may be os use to you...
--
Raditha Dissanayake.
---
Is there anyway of creating a config.php file on the fly using a form.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> When disable the globals varibles function, the following php can't be
> good for working :
this should point you in the right direction
http://us2.php.net/manual/en/features.file-upload.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[snip]
(Bgetfile1.php
(B
(B";
(Becho "File Size$B!'(J$upfile_size";
(Becho "File Type$B!'(J$upfile_type";
(Becho "Temp File$B!'(J$upfile";
(B
(Bcopy($upfile, "/tmp/$upfile_name");
(B?>
(B[/snip]
(B
(Becho "File Name$B!'(J$_POST['upfile_name']";
(Becho "File Size$B!'(J$_POST['
Murray @ PlanetThoughtful wrote:
Hi All,
I'm developing a wiki-esque application for an in-house project and am
wondering how others go about resolving potential conflicts when multiple
users are editing the same content drawn from a MySQL database?
You might want to ask in a mysql group about
Say I'm trying to add a value to an array, only if it's not already in
there somewhere; so I do an array_search to see. The problem is that if
the item is at index 0 in the array, array_search gives the same answer
as if it's not in there at all. How does one circumvent this potential
pitfall?
On Mon, 11 Oct 2004 08:40:09 -0700 (PDT), Mag <[EMAIL PROTECTED]> wrote:
> Interesting, so what is more backwards compatable? or
> to put it in another way, what did you change on your
> servers so that your app worked without
> file_get_contents?
I used the usual fopen(), fgets(), fclose() combin
> Is there anyway of creating a config.php file on the fly using a form.
There is... however, that's kind of a broad question. What sort of
config file are you trying to build?
-Dan Joseph
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Why not just use CSS?
http://www.alistapart.com/articles/goingtoprint/
Steve
-Original Message-
From: raditha dissanayake [mailto:[EMAIL PROTECTED]
Sent: Monday, October 11, 2004 12:23 PM
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Re: php and print
Harlequin wrote:
>Bruno
>
>I'm still r
On Mon, 11 Oct 2004 11:59:56 -0400, bigmark <[EMAIL PROTECTED]> wrote:
> Is there anyway of creating a config.php file on the fly using a form.
Sure. fopen() can write new files easy enough. And the data from the
form submission is available via the $_POST array.
--
Greg Donald
Zend Certified
bigmark wrote:
Is there anyway of creating a config.php file on the fly using a form.
yes there is
--
Raditha Dissanayake.
http://www.radinks.com/sftp/ | http://www.raditha.com/megaupload
Lean and mean Secure FTP ap
[snip]
Is there anyway of creating a config.php file on the fly using a form.
[/snip]
Yes.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> Say I'm trying to add a value to an array, only if it's not already in
> there somewhere; so I do an array_search to see. The problem is that if
> the item is at index 0 in the array, array_search gives the same answer
> as if it's not in there at all. How does one circumvent this potential
> pit
Oops, sorry to hear that.
Some scumbag always spoils it for everyone :-(
Looks like you can enable it if you really need it
though..
Mag
--- lists <[EMAIL PROTECTED]> wrote:
> I"m kinda bummed, I tried to us it last night and
> discovered I could
> not use it because Pair Networks disables th
On Mon, 11 Oct 2004 09:07:13 -0700, Brian Dunning
<[EMAIL PROTECTED]> wrote:
> Say I'm trying to add a value to an array, only if it's not already in
> there somewhere; so I do an array_search to see. The problem is that if
> the item is at index 0 in the array, array_search gives the same answer
>
bigmark wrote:
Is there anyway of creating a config.php file on the fly using a form.
Yes.
http://www.catb.org/~esr/faqs/smart-questions.html
--
John C. Nichel
ÜberGeek
KegWorks.com
716.856.9675
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.ph
* and then Nick Wilson declared
> > > that one is using rawurlencode() but it's just as bad with urlencode -
> > > How *should* I be doing this?
> >
> > is this how you tried to do it?
> >
> > $userAgent = "Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)";
> > curl_setopt($ch, CURLOPT_US
Hi Raditha,
I'm not sure table locking is the answer. I'm not talking about concurrency
in the sense of 'simultaneous' updates and selects, but in the sense of an
'open record edit session' that predictably will overwrite the value of a
record that may have been changed, after the edit session beg
I did look at the fopen option...but it just seemed a
little longer and more complicated to do that plus
according to this benchmark
(http://force-elite.com/~chip/projects/php/benchmarks/file-vs-fgets/)
using file_get_contents is upto 6 times faster (?) in
some cases..
I think I'll stick with this
On Mon, 11 Oct 2004 09:07:13 -0700, Brian Dunning
<[EMAIL PROTECTED]> wrote:
> The problem is that if the item is at index 0 in the array, array_search gives the
> same answer as if it's not in there at all.
No it doesn't.
If it's in index 0 it returns 0, if it's not there at all it returns FA
Hey!
Am having a little problem working out the logic in
this, basically I pass a graphics path to a function
and it should give/retrun me the URL path.
http://x.com/t1/t2/t3/blah.html';
function ret_url($rel_path)
{ }
?>
so I pass a relitive url like this
$a=ret_url('/blah.jpg';)
and (using t
Hi Guys,
Is there any way of finding the current user logged on the remote system
I have a perl script which gets the user name who is currently logged on a remote
Windows Machine
#LoggedOnUsers(server, userRef).pl
use Win32::NetAdmin;
use strict;
use vars qw($server @users_list);
if
Brian Dunning wrote:
Say I'm trying to add a value to an array, only if it's not already in
there somewhere; so I do an array_search to see. The problem is that if
the item is at index 0 in the array, array_search gives the same answer
as if it's not in there at all.
No it doesn't. If the value
bigmark wrote:
Is there anyway of creating a config.php file on the fly using a form.
House fly or bar fly?
--
---John Holmes...
Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/
php|architect: The Magazine for PHP Professionals – www.phparch.com
--
PHP General Mailing List (http://www.php.
Jay Blanchard wrote:
[snip]
getfile1.php
";
echo "File Sizeï$upfile_size";
echo "File Typeï$upfile_type";
echo "Temp Fileï$upfile";
copy($upfile, "/tmp/$upfile_name");
?>
[/snip]
echo "File Nameï$_POST['upfile_name']";
echo "File Sizeï$_POST['upfile_size']";
echo "File Typeï$_POST['upfile_type']";
Greg Donald wrote:
On Mon, 11 Oct 2004 09:07:13 -0700, Brian Dunning
<[EMAIL PROTECTED]> wrote:
Say I'm trying to add a value to an array, only if it's not already in
there somewhere; so I do an array_search to see. The problem is that if
the item is at index 0 in the array, array_search gives the
Just wanted to point out something little. "text" types are all
single-line data items. "textarea" can contain line breaks. Looks like
you may have solved your problem already, but wanted to fill in some
info that didn't seem to be mentioned.
-TG
> -Original Message-
> From: Sam Smith
I can't check this out from work (for obvious reasons) but web server
logs should record all the incoming requests and what hosts requested
what files.
Also, search engines like Google provide an API for programmers that
could potentially be used to get data like "how many people are linked
to thi
GH wrote:
Now I m perplexed time 10!
I run the code that follows this time providing a query string
of admin_template.php?api=101
I have an if statement that tests if $_GET['api'] == 0 if it is
true I have it listing options, else it queries the database with that
ID and loads the assoc
How can I convert it to an integer aslong as it is only a number in the string?
On Mon, 11 Oct 2004 13:19:40 -0400, John Holmes
<[EMAIL PROTECTED]> wrote:
> GH wrote:
>
> > Now I m perplexed time 10!
> >
> >I run the code that follows this time providing a query string
> > of admin_temp
John Holmes wrote:
bigmark wrote:
Is there anyway of creating a config.php file on the fly using a form.
House fly or bar fly?
You got something against a fly on the wall???
--
John C. Nichel
ÜberGeek
KegWorks.com
716.856.9675
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To
If you code in php something like the following, you just might be able to
use the perl script;
$ok = exec("path/to/Perl myperscriptname.pl server", $result); // you may
have to straighten out syntax
Foreach($result as $line) {
echo $line; // or you could process the results
}
Hope this h
GH wrote:
How can I convert it to an integer aslong as it is only a number in the string?
Does it _really_ matter if only a number is passed? If someone passes
"abcd" and it's converted to an integer, it'll be zero. Then your query
will not return any rows (which you're already testing for, anyho
Does anyone know of a program that does event and user registration,
sends RSVPs, reminders, etc?? I'm basically looking for a _simple_
evite.com clone I can use on a site.
The only one I've found in a quick search is iVITE at
http://www.hotscripts.com/Detailed/31859.html. Does anyone have any
Mag wrote:
1.showing the number of "outgoing links"
Middle man. You have them click on a link containing
an ID, increment
the counter for that ID, then forward them to the
requested link.
I'm not sure I understand what you mean here.
Actually, I misunderstood what you meant by outgoing links. Yo
Thanks for the info! Based on the "Apache2" reference and dug into the
problem a little more. Bug 18648 (http://bugs.php.net/bug.php?id=18648)
contains a long thread from folks with similar problems. It seems that
the Apache2 setup creates a conf.d/php.conf file with this in it:
SetOutp
Hi Jordi,
What's wrong with British Pounds? It's a good currency - been around for a
long time.
We have customers all over the world and can send SMS messages to over 500
networks in 200+ countries.
We have MANY clients in the USA, across Europe, Australia & Africa.
However we are based in the UK;
-Original Message-
From: Jason Wong [mailto:[EMAIL PROTECTED]
Sent: Monday, October 11, 2004 8:09 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP]
On Monday 11 October 2004 19:41, [EMAIL PROTECTED] wrote:
> Never mind guys, I figured it out. I appreciate your help. Thanks for
> everything!
Mulley, Nikhil wrote:
Is there any way of finding the current user logged on the remote system
You can try $_SERVER['LOGON_USER'], but I think the "remote" computer
has to be in the same domain as the server...
--
---John Holmes...
Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/
php|arc
Is there anyway of creating a config.php file on the fly using a form.
To obtain verbose output, include the keyword "how" at the beginning of
your query.
--
michal migurski- contact info, blog, and pgp key:
sf/cahttp://mike.teczno.c
I'm not sure table locking is the answer. I'm not talking about
concurrency
in the sense of 'simultaneous' updates and selects, but in the sense
of an
'open record edit session' that predictably will overwrite the value
of a
record that may have been changed, after the edit session began, but
b
* Thus wrote lists:
> I"m kinda bummed, I tried to us it last night and discovered I could
> not use it because Pair Networks disables the ability, can't include
> either.
>
> from their newsletter:
>
> "Lately, the most common method of exploit has been to pass a variable
> to a PHP script wh
* Thus wrote Mag:
> I did look at the fopen option...but it just seemed a
> little longer and more complicated to do that plus
> according to this benchmark
> (http://force-elite.com/~chip/projects/php/benchmarks/file-vs-fgets/)
> using file_get_contents is upto 6 times faster (?) in
> some cases..
* Thus wrote [EMAIL PROTECTED]:
>
>
>
>
>
>
>
> getfile1.php
> ...
>
> copy($upfile, "/tmp/$upfile_name");
> ?>
Also use move_uploaded_file() instead.
http://php.net/move_uploaded_file
Curt
--
Quoth the Raven, "Nevermore."
--
PHP General Mailing List (http://www.php.net/)
To unsubscr
It does and Windows Integrated Authentication has to be turned on (and
Anonymous access turned off).
I just got my company to configure that so my PHP scripts could grab the
authenticated user for logging purposes.
-TG
> -Original Message-
> From: John Holmes [mailto:[EMAIL PROTECTED]
>
On Tue, 12 Oct 2004 02:41:10 +1000, Murray @ PlanetThoughtful
<[EMAIL PROTECTED]> wrote:
> User A finishes his or her page edit and commits the changes, but the
> underlying record was already changed by User B's page rename. User A's edit
> changes overwrite this update in the record in question,
* Thus wrote Mag:
> Hey!
> Am having a little problem working out the logic in
> this, basically I pass a graphics path to a function
> and it should give/retrun me the URL path.
>
> $url='http://x.com/t1/t2/t3/blah.html';
>
> function ret_url($rel_path)
> { }
>
> ?>
>
> so I pass a relitive u
On Mon, 11 Oct 2004 15:20:11 -0400, Scott Hamm <[EMAIL PROTECTED]> wrote:
> I know it's impossible, but is there a way php can read something from excel
> file?
>
If you really believe it's impossible, why ask the question? :)
Start with the first link here, and work your way down. Thankfully,
Hi,
I wrote this to the list a little while back and have
been working on it...i have come 95% of the way but
for some reason cant work the other 5% out...can
somebody help please?
Basically I need to figure out the URL or a image from
a relitive path...something like this:
/blah.jpg // should r
>
> $url='http://www.textx.com/t1/t2/t3/blah.html';
>
> function ret_url($rel_path, $base = '')
> {
> $base_path = substr($base, 0, strpos($base, '/',7));
>
> if(substr($rel_path,0,1)=='/' &&
> !strpos($rel_path,'/../'))
> { return $base_path.$rel_path; }
>
> elseif(strpos($rel_pat
Hey Matt,
Thanks for replying.
> > >
> > $url='http://www.textx.com/t1/t2/t3/blah.html';
> >
> > function ret_url($rel_path, $base = '')
> > {
> > $base_path = substr($base, 0, strpos($base,
> '/',7));
> >
> > if(substr($rel_path,0,1)=='/' &&
> > !strpos($rel_path,'/../'))
> > { return $ba
Can someone tell me the proper syntax for accessing a method in
one class from another class?
I used this, where $obj and $page are instantiated objects:
(From the $page class)
obj::getData($id);
It worked in an application on one server, failed in another
application on another server.
Than
I'm writing a little script (my 3rd) that takes name (first, last) and
email address
and writes it to txt file and submits the email address to an EZMLM
list server.
All is well but I'm not sure where to go for the submission.
The command line - ezmlm-sub works (from the shell)... if the user i
On Tuesday 12 October 2004 08:29, Mark Hubert wrote:
> I'm writing a little script (my 3rd) that takes name (first, last) and
> email address
> and writes it to txt file and submits the email address to an EZMLM
> list server.
>
> All is well but I'm not sure where to go for the submission.
>
> T
Hi Mark,
I'm writing a little script (my 3rd) that takes name (first, last)
and email address
and writes it to txt file and submits the email address to an EZMLM
list server.
All is well but I'm not sure where to go for the submission.
The command line - ezmlm-sub works (from the shell)... if t
Hello,
On 10/11/2004 09:29 PM, Mark Hubert wrote:
> I'm writing a little script (my 3rd) that takes name (first, last) and
> email address
> and writes it to txt file and submits the email address to an EZMLM list
> server.
>
> All is well but I'm not sure where to go for the submission.
>
> The c
* Sandy Keathley <[EMAIL PROTECTED]>:
> Can someone tell me the proper syntax for accessing a method in
> one class from another class?
>
> I used this, where $obj and $page are instantiated objects:
>
> (From the $page class)
>
> obj::getData($id);
if $obj is instantiated, you'd call it like any
Re: "Does it _really_ matter if only a number is passed? "
I would think so since if someone is trying to pass a string that is
not proper it should be treated as such and not as if they are just
take the first set of numbers and Throw away all the rest.
Maybe I am over thinking this or I am bei
No Holmes ,Its not working , is there any other way ...
And My specific would be something that by Giving an IP or a hostname ,the script
should fetch the user logged in currently,,
like when we use the nbtstat command on a Windows Domain with the argument as the
hostname , it would fetch the d
Hi Vail,
My Worry is that If a remote OS is not Windows, then this would throw out garbage,
Where as this Perl Script would work well at a Windows Side ,Bcoz I am using the
'Win32' Module ,is there any other module such that .
We cannot even predict ( or I believe there is no exact way ) wha
How do I turn on the Integrated Authentication turned on.
Ours is a mixed heterogenous network which has Windows,Linux,Solaris,BSD
Lindows,Linspire and many other OS all together,So How Do I?
-Original Message-
From: Gryffyn, Trevor [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 12, 2
1 - 100 of 103 matches
Mail list logo