Hi,
I've got an array like the following:
$books = array(
"1572316217" => array(
category=> 'tech',
display => 'Steve McConnell\'s Software Project
Survival Guide',
href=>
On 9 May 2002 at 15:25, Philip Hallstrom wrote:
> It has to do with precedence (I think). When inside a double quoted
> string PHP evalutes "$books[$val]" *first* and doesn't catch that
> there's more to it...
>
> You can do this:
>
> $html.= " Yaddda yadda " . $books[$val][display];
>
> And
I have two classes. Organization and users.
In the organization class I am try to keep an array of user objects but it
does not seem to be taking. Can any help? See code below.
class Organization
{
var $users = array();
function AddUser($oUser)
{
array_push($this->users,
Let's see if I can keep this short and simple.
I'm having to problems with a hosting service.
1. index.php isn't being read as default index.
2. Form aren't working (see a below mail_call.php).
2A.The mail_call.php works on my localbox (apache-2.0.36 +PHP4.2.0)
2B. Hosting company,for reason they
Is my hosting company trying to "pull the wool over my eyes"?
There response to upgrading to 4.2.1, was that it isn't
compatible with Zind optomizer 1.20?
The only *issue* I seen with 4.2.x is of course register_globals!
(which of course be changed in php.ini)
I don't have a problem with them ho
I've been searching for some a little bit of PHP that will pull out one
line from a flat text file and display it, changing it on reload.
So far most of them use MySQL and the links that I did find all turn up
404... but one was called "PHP Vault: Random Quote Script" and it seemed
like it would
> list($usec,$sec)=explode(" ",microtime());
> mt_srand($sec * $usec);
> $quotes =
file("quotes");
> echo $quotes[mt_rand(0, (sizeof($quotes)-1))];
Yes!!! That
works exactly! I love PHP! I love this list and look forward to the day when I
can
contribute something more than fascinating q
Hello PHP'ers
I am currently using the very cool PHPSlideshow(1)
This gives me URLs that look like this:
http://www.tntluoma.com/show.php?directory=nursery/
I would like to be able to have simpler URL like this:
http://www.tntluoma.com/show/directory=nursery/
I was researchi
I have a bound variable to an oracle cursor. I then use the OCIFetchInto()
statment to move forward through the resultset. My question is how do i
move backwards through the resultset? Or reset it to its starting position?
thanks.
Summary: I've been looking for a resource (book, website, etc) that will
address how to write/store information in XML and deliver it as XHTML
(using PHP for the processing), but haven't had much luck.
I know a little bit of PHP (just enough to be dangerous, but also to
recognize how cool it is
still
errors.
>
> In Perl, it would simply be ignored. What do I do here.
>
> Here is a simple example of the code.
>
> if ($Task == "ShowVersion") { function ShowVersion(); }
> elseif ($Task == "GetData") { function GetData(); print "$DataOutput"; }
> elseif ($Task == "CreateImage") { function CreateImage(); }
> else { print "Incorrect Variable or no Variable Supplies"; }
>
>
>
>
>
> Christopher J. Crane
> Network Operations Manager
>
> IKON Office Solutions
> 860.659.6464
>
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I like this piece of code. In fact, I convert all my scripts that use the
older If/Else code. What would happen if the "break; " wasn't used. Would
it just continue through the rest of the function to find another match???
"Miguel Cruz" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">new
Here is a piece of code, that is close to doing what I want it to.
The end result I would like to have is an array that is simple to work with.
If the XML tag was RED HAT, I would like something
like the following:
$Tags['issue-name']. So I could print it out. Something like, print
"$Tags['issue-
Another site that you should be aware of is for both internal and external,
NASA uses PHP and MySQL, of which both are free.
"John Christopher" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
> I would like to use PHP in a project for a United States
> Governmen
Only one value from a msSQL field.
I have many values the same in a field and would like to know how i can select one of
each (not mating).
$sql = "SELECT * FROM brands WHERE 1 ORDER BY `sId` DESC LIMIT 6";
lists everything ..
ANy help would be cool.
Phil
Here is a piece of code, that is close to doing what I want it to.
The end result I would like to have is an array that is simple to work with.
If the XML tag was RED HAT, I would like something
like the following:
$Tags['issue-name']. So I could print it out. Something like, print
"$Tags['issue-
$Tags['issue-name']. So I could print it out. Something like, print
"$Tags['issue-name']\n";
I was able to get a numerical representation of the array like, $Tags[5] and
the value of that tag was "RED HAT", but then I would have to know what the
position of the data I am looking for in the array.
No there really isn't. I wrote an extension that does it for me, but
I am waiting to see what the second zend engine will have for this
rather that using my hack. Maybe check the Zend Engine 2 mailing list
to see what the future may hold.
Matt
Mika Tuupola wrote:
>
> Is there a way to
./apache_1.3.22
--enable-track-vars
Any help at all would be appreciated. Thanks!
--
I have spoken.
J. Rashaad JacksonUNIX Systems Administrator
2032 Samuel T. Dana Building(W) 734.615.1422
Ann
this is slightly o-t, but does anyone live in/near DC or the surrounding areas that i
could ask questions of? thanks.
robert
Take a look at mysql_data_seek()
Matt
James Taylor wrote:
>
> I have a really simple guestbook that allows someone to post to the book,
> then it displays all the entries. Well, there are too many entries now for
> just one page and it looks kinda wacky, so I wanted to do something where it
>
I'm trying to make a random number kind of a coin toss,
heads = 1 = left
tales = 2 = right
any solutions
Philip J. Newman
Philip's Domain - Internet Project.
http://www.philipsdomain.com/
[EMAIL PROTECTED]
Phone: +64 25 6144012
When I want to get just one record is there an easyer way than using the while loop
that I have been using?
Philip J. Newman
Philip's Domain - Internet Project.
http://www.philipsdomain.com/
[EMAIL PROTECTED]
Phone: +64 25 6144012
RE: [PHP] [NEWMAN] Collecting information from a my sql table.Dang, thanks (o;
- Original Message -
From: Martin Towell
To: 'Philip J. Newman' ; [EMAIL PROTECTED]
Sent: Monday, February 25, 2002 12:22 PM
Subject: RE: [PHP] [NEWMAN] Collecting information from a my
Hello folks! I've been lurking the last 200 messages or so (i.e. 10-15
minutes ;-) I've already learned a lot, including that this list will be
well worth the bandwidth. I hope my post will be worth the reading.
I think I have my first contribution to make, and at the same time would
like to a
I am running apache and php. I want to create a custom 404 page for my
site. I have created a .htaccess file and "ErrorDocument 404 /error.php3"
line to it.
If someone tries to view www.myserver.com/thispagedoesnotexist.htm the 404
page is displayed without issue.
If someone tries to view w
I'm trying to make an email field and I would like to check that its valid
by checking for an @ and a . can someone point me in the right direction for
this.
THanks
Philip J. Newman
Philip's Domain - Internet Project.
http://www.philipsdomain.com/
[EMAIL PROTECTED]
Phone: +64
Yo thanks this dose work. (o; haven't got to functions in the book yet
- Original Message -
From: "Chris Burnett" <[EMAIL PROTECTED]>
To: "Philip J. Newman" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Thursday, February 28, 2002 8:25 AM
Hello folks
I have a virtual domain under Apache and do not have access to the global
php.ini file
Apache lets me set site-wide configuration in an /.htaccess file
Is there something similar for PHP? All the references I've been able to
find seem to refer to php.ini but do not say if I can ma
On Wed, 27 Feb 2002, CC Zona wrote:
> > I have a virtual domain under Apache and do not have access to the global
> > php.ini file
> >
> > Apache lets me set site-wide configuration in an /.htaccess file
> >
> > Is there something similar for PHP?
>
> Forget "similar", you can set PHP config opti
On Wed, 27 Feb 2002, Richie Chauhan wrote:
>
>
>
FYI I think your SSI syntax is wrong, it should be
TjL
ps -- I emailed Richie offlist that my experience with PHP was that it was
MUCH faster than SSI, fwiw
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, v
On Wed, 27 Feb 2002, CC Zona wrote:
> In that case, the "auto_prepend_file" config option may be of interest.
> It's described on the page previously mentioned.
Awesome... that was just what I needed. I hadn't made the connection
before.
Thanks
TjL
--
PHP General Mailing List (http://www.p
Is there any way that PHP can grab the time and date of a file ??
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
OK yah, this is a pain in the butt, $REMOTE_ADDR Dose not work in Sambar 5.1. Anyone
have anyone have any solutions that can be used insteard?
Philip J. Newman
Philip's Domain - Internet Project.
http://www.philipsdomain.com/
[EMAIL PROTECTED]
Phone: +64 25 6144012
lison" <[EMAIL PROTECTED]>
To: "Philip J. Newman" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Friday, March 01, 2002 11:15 AM
Subject: Re: [PHP] OMG your right ... $REMOTE_ADDR don't work in Samber 5.1,
PHP4
> Philip J. N
Someone tell me what DLL files you actually need to run PHP on isapi, do I
need to have all the files in the /php/ dir? Takes up heaps of HDD space.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
We'll for give you
- Original Message -
From: "James Arthur" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, March 01, 2002 12:39 PM
Subject: Re: [PHP] MacOS-style pager
> Sorry -- that was supposed to go to the KDE list :)
>
> On Monday 25 Feb 2002 20:12, James Arthur wrote:
On Thu, 28 Feb 2002, Richard Baskett wrote:
> What I want to do is have a function available to all my php files without
> having to use an include in every page. So what I did was put this line in
> my .htaccess file:
>
> php auto_prepend_file "pathtoscript/uniemail.php"
On my system I had to
Hi,
I use NT for development and I like to write snippets of code and
test them on my local box. I can do this in Perl. How can I do that
in PHP without installing a webserver etc. etc. I guess I can install
a version of PHP and just make sure I've got the path in my env.
Thanks,
Peter
http:
I have been using this code to show the last modified time:
(Note: the following was adapted from http://www.terrabyte.dc.com.au/phpscripts.php3 )
// the server is 13 hours ahead of Eastern Time USA
$hourdiff = "13";
$timeadjust = ($hourdiff * 60 * 60);
$eastern_time = date("d M Y g:ia",getlast
> Use filemtime().
UGH! There are so many things to learn! I hate asking obvious questions
like this, but I'm still not finding the right search terms. I appreciate
your patience.
FYI the answer to my problem was found at
http://www.php.net/manual/en/function.filemtime.php
[EMAIL PROTECTED]
Hi there, I have a few java scripts that have some verables that I wish to
pass along to my PHP scripts. Any ideas where to start.
Oh yah and noting to do with PHP --
Can anyone give me a small java script that will pop up a 400x400pix window
when a button is clicked ... can't wortk that ou
- Original Message -
From: "DL Neil" <[EMAIL PROTECTED]>
To: "Ben C." <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Tuesday, March 05, 2002 8:04 AM
Subject: Re: [PHP] Upload a CSV file to MySQL
> Ben,
>
> > Is there an easy way to upload a CSV file into a MySQL table? Is
> there als
ot; '%".$getme_arr[$i]."%'";
$sql .= " ORDER BY `id` ASC LIMIT 0, 30";
... This should send to my sql ...
SELECT * FROM `hyperlinks` WHERE 1 AND `keywords` LIKE "green" AND `keywords` LIKE
"eggs" ORDER BY `id` ASC LIMIT 0, 30
How ever it reall
How can I make a $string = hello into $string = HELLO?
Philip J. Newman
PhilipNZ :: Design Solutions
http://www.philipnz.com/
[EMAIL PROTECTED]
ICQ# 20482482
+64 25 6144012
---
From: "Hank Marquardt" <[EMAIL PROTECTED]>
To: "Philip J. Newman" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, March 07, 2002 10:21 AM
Subject: Re: [PHP] Help with a search array.
> $words = explode(" ",$keywords);
>
> foreac
'";
$sql .= " ORDER BY `id` ASC LIMIT 0, 30";
hehe its works (o; thanks
http://www.philipsdomain.com/hyperlinks/search.php (o;
Thanks buddy (o;
- Original Message -
From: "Hank Marquardt" <[EMAIL PROTECTED]>
To: "Philip J. Newman" <[EMAIL PRO
I am a PERL scripter and I am just getting into PHP. My first few pages are
simple but I am running into a few problems when changing OS. I included
below a piece of code that works fine in windows but not on a linux box. Not
sure what the differences would be
The problem is that on the windo
Hello! I am trying to reduce the size of the code below, which I believe
can be simplified.
I checked the 'for' entry in the manual as well as googling for some
similar code, but did not have any luck.
Here is what I have:
$ICON_COUNT="0";
if ($SHOW_WAI_ICON != "no")
{
$ICON_COUNT++
can someone point me in the right direction for writing data to a file.
d:/site/file.txt
infomation:
[DATE] Information
Please point me right.
Philip J. Newman
PhilipNZ :: Design Solutions
http://www.philipnz.com/
[EMAIL PROTECTED]
ICQ# 20482482
+64 25 6144012
sql = "SELECT * FROM hyperlinks ORDER BY clicks DESC LIMIT 0, 10";
Any Comments on this?
Philip J. Newman
PhilipNZ :: Design Solutions
http://www.philipnz.com/
[EMAIL PROTECTED]
ICQ# 20482482
+64 25 6144012
requested from another server page.
Philip J. Newman
PhilipNZ :: Design Solutions
http://www.philipnz.com/
[EMAIL PROTECTED]
ICQ# 20482482
+64 25 6144012
d javatopten.php returns document.write(' Blar Blar');
- Original Message -
From: "Michael Geier" <[EMAIL PROTECTED]>
To: "Philip J. Newman" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Sunday, March 17, 2002 9:06 AM
Subject: Re: [PHP] From:
n update the record and use the accessID for that record.
else if there isn't that $remote_addr in the table then it is added.
I have yet to start on the code, so would some direction.
Philip J. Newman
PhilipNZ :: Design Solutions
http://www.philipnz.com/
[EMAIL PROTECTED]
ICQ# 20482482
+64 25 6144012
w where ip = visitor_ip
> } else {
> // Normal insert
> }
>
> --
>
> Julio Nobrega.
>
> Um dia eu chego lá:
> http://sourceforge.net/projects/toca
>
> Ajudei? Salvei? Que tal um presentinho?
> http://www.submarino.com.br/wishlistclient.asp?wlid=6641767
ction: db_num_rows() in
d:\hosting\crushme\index.php on line 20
anyone helo me fix this
- Original Message -
From: "Philip J. Newman" <[EMAIL PROTECTED]>
To: "Julio Nobrega Trabalhando" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, M
What I'm trying to do:
I have a log table called 'access'. When a user comes to my website there
IP is logged, along with there DNS name.
When they return with the same IP number the accessVIEW is updated +1 and
the last number is assigned to them.
Heres the Code:
Can anyone help me. This s
Can anyone tell me why this isn't working? What its ment to do is add an IP number to
the database. if the IP is all ready in the database then it would update a counter.
Philip J. Newman
PhilipNZ :: Design Solutions
http://www.philipnz.com/
[EMAIL PROTECTED]
ICQ# 20482482
+64 25 6144012
I wrote a shopping cart, but I
don't understand two things.
1) What is the best way to display like the first ten records and then a
list of how many pages with 10 records on them...similar to like a search
engine when it returns it's results. If I have 100 items I do not want to
display all of th
I just downloaded PHP from PHP.net and it's the newest version.
I can not get it to work. I get the "Security Alert! PHP CGI cannot be
accessed directly" message.
I have edited the php.ini file and changed the "cgi.force_redirect" to "0"
and back to "1" and everything else I could think of. I rest
n topics that I'm not finding, please email them to me. When
its done, and useful, we can see about getting it auto posted (which is a
_good_ idea).
Thanks
Scott
J. Scott Johnson
Virtual:
* * * * * * * * * * * * * * * * * * * * * * * * * *
[EMAIL PROTECTED]
http://www.fuzzygroup.com/
Yahoo IM:
Here you go:
Scott
-Original Message-
From: Phil Schwarzmann [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 22, 2002 9:08 PM
To: [EMAIL PROTECTED]
Subject: [PHP] URL information into a variable
How do I take the current URL and turn it into a variable?
THANKS!!
Phil
--
PHP Gener
mysql_query("UPDATE access SET accessVIEW = accessVIEW+1 WHERE accessIP = $proxy_ip");
is there anything wrong with this?
Philip J. Newman
PhilipNZ :: Design Solutions
http://www.philipnz.com/
[EMAIL PROTECTED]
ICQ# 20482482
+64 25 6144012
If you use xml_parse_into_struct, it does split out the attributes into the
array it creates.
I tested this with the standard manual code, adding a single attribute to
the sample data i.e.
$simple = "simple note";
$p = xml_parser_create();
xml_parse_into_struct($p,$simple,$vals,$index);
xml_pars
I just downloaded the new version of PHP. I installed it and I am using
Omnicron HTTPD server version 2.09. The PHP that came with the server works,
but when I installed the new version of PHP from PHP.NET, I got the
following error.
Good good question?
- Original Message -
From: "Alberto Wagner" <[EMAIL PROTECTED]>
To: "Php General Mailling List" <[EMAIL PROTECTED]>
Sent: Sunday, March 31, 2002 2:39 PM
Subject: [PHP] Why?
> Why everyone uses $foo or $foobar as examples?
>
>
>
>
> --
> PHP General Mailing List
hay everyone can someone recommend a good solution for stopping my server from
crashing. I have 4. something installed on my server and something nuts happens with
the memory causing the server to crash and generate an exception. The only way I can
fix this is to re-start. I run the isapi m
er.
Any suggestions.
Philip J. Newman
PhilipNZ :: Design Solutions
http://www.philipnz.com/
[EMAIL PROTECTED]
ICQ# 20482482
+64 25 6144012
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
erver 'ihug.co.nz' [250] received: 550 Syntax
error in 'From' header: missing or malformed local part (expected word or
"<"): failing address is: Philip J. Newman]
Can anyone help with this
$msg = "Thanks, $name. Your entry had been added, Good Luck.";
$msg
$email = [EMAIL PROTECTED] example
- Original Message -
From: "Miguel Cruz" <[EMAIL PROTECTED]>
To: "Philip J. Newman" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Wednesday, March 27, 2002 11:14 AM
Subject: Re: [PHP
Closing connection to the db
mysql_close($link);
?>
* * * * * * * * * * * * * * * * * * * * * * * * * *
J. Scott Johnson
PHP Consulting and Design Work
* * * * * * * * * * * * * * * * * * * * * * * * * *
Virtual:
* * * * * * * * * * * * * * * * * * * * * * * * * *
[EMAIL PROTECTED]
http:
Shouldn't this work:
$string = $string . "Some text added to the end";
Or am I thinking your question is simpler than it really is?
* * * * * * * * * * * * * * * * * * * * * * * * * *
J. Scott Johnson
PHP Consulting
I've seen a tool called Code Charge which claims to do that.
http://www.codecharge.com/index2.html
And, I think that the new Zend tools make this easier (but I really haven't
started evaluation yet).
www.zend.com
Scott
* * * * * * * * * * * * * * * * * * * * * * * * * *
J. Scott J
anything else.
NOTE -- I was doing SGML in 89 and XML ain't all that different.
Scott
* * * * * * * * * * * * * * * * * * * * * * * * * *
J. Scott Johnson
PHP Consulting and Design Work
* * * * * * * * * * * * * * * * * * * * * * * * * *
Virtual:
* * * * * * * * * * * * * * * * * * * *
u can leave doc_root undefined. If you are running IIS, you may safely
set cgi.force_redirect=0 in php.ini.
Philip J. Newman
PhilipNZ :: Design Solutions
http://www.philipnz.com/
[EMAIL PROTECTED]
ICQ# 20482482
+64 25 6144012
I have just updated my copy of PHP and changed the INI file. Some of my redirect
commands no longer work.
Any Suggestions.
Philip J. Newman
PhilipNZ :: Design Solutions
http://www.philipnz.com/
[EMAIL PROTECTED]
ICQ# 20482482
+64 25 6144012
??
Philip J. Newman
PhilipNZ :: Design Solutions
http://www.philipnz.com/
[EMAIL PROTECTED]
ICQ# 20482482
+64 25 6144012
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello PHP friends
I went searching (Core PHP Programm, php.net and google) for an
answer, but didn't find anything that did what I want, namely: Use PHP to
set the style sheet for a site.
I am trying this method: Register a global variable ($CSS) using a FORM.
Currently this does not w
] Some Problems that Newman has with PHP since reinstall.
> On Saturday 30 March 2002 14:26, Philip J. Newman wrote:
> > Hi People,
> > I just installed PHP again, and am having some problems with a few
things.
> > When Posting to a form, veriables do not travel across the page
Why wouldn't you use gmdate:
http://www.php.net/manual/en/function.gmdate.php
and then increment it yourself by an offset?
Scott
-Original Message-
From: anders nawroth [mailto:[EMAIL PROTECTED]]
Sent: Saturday, March 30, 2002 5:05 PM
To: [EMAIL PROTECTED]
Subject: [PHP] time question
I'm trying to start a session, and I get this error.
I have been told its something to do with a missing dir is my php dir?
Warning: open(1\sess_0513b5c5d7021f1acdcf9f732032081f, O_RDWR) failed: No such file or
directory (2) in Unknown on line 0
Philip J. Newman
PhilipNZ :: Design Solu
so it should be
session.save_path = c:\php\temp
at the moment it says
session.save_path = 1
- Original Message -
From: "Yasuo Ohgaki" <[EMAIL PROTECTED]>
Newsgroups: php.general
To: "Philip J. Newman" <[EMAIL PROTECTED]>
Sent: Monday, April 01, 2002
On Sat, 30 Mar 2002, Hugh Bothwell wrote:
Thanks to Hugh for his help... his PHP code was perfect... it was exactly
what it took to get it done.
Just a few minor notes:
I was able to keep the echo <<< EOD statements which I prefer for this
particular implementation, and I kept
so tha
Just as an aside, sourceforge seems to have changed the url. Its now:
http://sourceforge.net/projects/snoopy/
(I was interested too).
Scott
-Original Message-
From: Rick Emery [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 01, 2002 9:12 AM
To: 'Stephen Phillips'; [EMAIL PROTECTED]
Sub
reak;
}
}
I've done it with and without the while loop, tried if tests and such. Its
strange.
Thanks in advance
J. Scott Johnson
Physical
* * * * * * * * * * * * * * * * * * * * * * * * * *
80 Spring Road
Nahant, MA 01908
Phone:
* * * * * * * * * * * * * * * * * * * *
Hi,
I have the array below and I want to sort on language. Can't figure it
out. Below the array is what I tried
$ArrayOfNewsLinks = array(
"http://dailynews.yahoo.com/fc/World/Brazil/"; => array(
title => 'Yahoo Brazil News',
category => 'news',
language => 'English',
),
"ht
On Sat, 6 Apr 2002, Dean Ouellette wrote:
> Newbie who has my include working with this
> include ('includes/footer.php');
> ?>
>
> Problem is when I try to use this with files in other directories I use
> include ('/includes/footer.php');
> ?>
>
> Then get file cannot be found. Is there a way
On 6 Apr 2002, at 14:38, Chris Adams wrote:
> On Sat, 6 Apr 2002 10:36:18 -0600, Peter J. Schoenster
> <[EMAIL PROTECTED]> wrote:
> > $ArrayOfNewsLinks = array(
> > "http://dailynews.yahoo.com/fc/World/Brazil/"; => array(
> > title => &
> I'd just add that validating international numbers against any sort of
> list is bound
to lead to extreme annoyance. Even telephone companies
> have trouble keeping track of
changes.
Not to mention people who will just put in valid-format-but-false numbers when
they are "required"
No stran
If object of type A ($A) contains a variable $B which is an object of
type B, how does a function within $B reference another variable in $A?
Thanks.
I am new to using XML and PHP for that matter. I have made some great
progress with the latter however.
My current problem is that I am trying to parse a relatively simple XML
file. The file can be found at
http://quotes.nasdaq.com/quote.dll?page=xml&mode=stock&symbol=ikn. I used
pieces of a sampl
t_line_number($xml_parser)));
}
print "";
xml_parser_free($xml_parser);
print "Array = $StockStuff[0]\n";
and I got an error that read "XML error: at line 67". I am not sure what
that meant.
"Analysis & Solutions" <[EMAIL PROTECTED]> wro
Ok time out...the problem was simple I had each of the functions one it's
own line because it was simple to see. When I add code to the functions then
I do make it as indicated and easier to read. The problem was that I did not
realize the 80 character columns width. I apologize but did not think
ou'd have to put it as the
> first line inside the CharacterHandler function.
>
>
> > print "1st Position in the array = $StockStuff[1]\n";
> ... snip ...
> > Christopher J. Crane
> > Network Operations Manager
> > IKON Office Solutions
>
>
I have been using PHP that someone from this list provided in order to
provide a CSS switcher to my site (below).
I noticed today that it isn't working (it was working previously).
As far as I can tell, the problem is that cookies are not being sent. I
tested this by setting Opera to 'display
HI - I've been using http://www.tierranet.com/services/ for several years.
Good tech support.
Lots of extras.
>Anybody know of good reliable hosting that supports
>php, and has a control panel to go with it?
>thanks,
>Heidi
>
>=
>Heidi Belal
>ICQ# 32127109
>
>A bus stops at a bus station.
>
This should work. You can also use html code to use a style sheet ref.
Hello Word";
?>
>i have txt file have this words
>
>--
>bla bla bla
>
>[phpcode]
>echo 'hello word';
>?>
>[/phpcode]
>
>bla bla bla
>---
>
>now I want to convert the code that are between [phpcode] and
>[
ce all the rest of the postvars are working, and I can see that the
data's there in the HTTP_POST_VARSI just can't get to it. (pun not
intended)
Thanks,
Lara
-
Lara J. Fabans
Lodestone Software, Inc
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.ph
at_do); // blank
.
.
.
for ($x=0;$x<=$row;$x++)
{
$whatdox = $whatdo[$x];
print $whatdox; // blank
.
.
.
//loop start
Load
Delete
Change Category
.
.
.
-
Lara J. Fabans
Lodestone Software, Inc
[EM
to access the HTTP_POST_VARS?
Thanks,
Lara
At 08:36 AM 11/10/2001 -0800, Lara J. Fabans wrote:
>My bad for typing it in from memory. I'd retyped it in a few times, so I
>thought i had it perfect. Here's the exact code:
>
>print_r ($HTTP_POSTVARS); // yeilds the a
901 - 1000 of 1448 matches
Mail list logo