Search found 75 matches

by ngungo
Mon Aug 21, 2006 7:27 pm
Forum: PHP - Code
Topic: Syntax for external functions
Replies: 6
Views: 937

I got it work now. I have a question though.

Are require() and include() interchageable?
by ngungo
Mon Aug 21, 2006 4:37 pm
Forum: PHP - Code
Topic: Syntax for external functions
Replies: 6
Views: 937

Syntax for external functions

How to make functions only file like a library, then call them externally. I appreciate someone give me a rope. Thanks.
by ngungo
Sun Jul 30, 2006 8:46 pm
Forum: PHP - Theory and Design
Topic: php .NET and ANSI C
Replies: 21
Views: 5622

Weirdan: Please allow me to be candid and with my humility, here is the error email: Hi Tim, =20 You have answered my posts about the Link Grammar. I would not dare to = hire you to do my job. This is my own research for my Vietnamese parser, = no commercial value. But would you please help me for a...
by ngungo
Sun Jul 30, 2006 6:37 pm
Forum: PHP - Theory and Design
Topic: php .NET and ANSI C
Replies: 21
Views: 5622

Hi timvw,

Thanks for the clue. I am studying it. I tried to reach you at timvw@users.sourceforge.net but got an error: "... This is a permanent error; I've given up. Sorry it didn't work out."
by ngungo
Sun Jul 30, 2006 4:48 pm
Forum: PHP - Theory and Design
Topic: php .NET and ANSI C
Replies: 21
Views: 5622

php .NET and ANSI C

I am a newbie and a so-so .NET developer converting to php. Please bear with me. I've finished a .NET version of The Link Grammar , an English syntax parser, now my new assignment is implement a php version of it. What I have is a set of APIs written in ANSI C. Question is how do I make these APIs p...
by ngungo
Sun Jul 30, 2006 9:08 am
Forum: PHP - Theory and Design
Topic: Searching and Sorting: Need Advice on the Design.
Replies: 9
Views: 1850

Yeah! Yeah! Genius idea!
by ngungo
Sat Jul 29, 2006 10:33 pm
Forum: PHP - Theory and Design
Topic: Searching and Sorting: Need Advice on the Design.
Replies: 9
Views: 1850

Thanks folks,

I have implemented by flat file method. It works beautifully but I am thinking to revamp it to database for scalability since I kind of understand SQL better.

Thanks again!
by ngungo
Thu Jun 15, 2006 12:49 pm
Forum: PHP - Code
Topic: A php code to read the content of a webpage.
Replies: 8
Views: 634

This is another one, much simpler:

Code: Select all

header('Location: http://www.somedomain.com/index.html?option=3');
by ngungo
Thu Jun 15, 2006 9:56 am
Forum: PHP - Code
Topic: A php code to read the content of a webpage.
Replies: 8
Views: 634

Weirdan | Please use , and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color] I foun...
by ngungo
Thu Jun 15, 2006 9:45 am
Forum: PHP - Code
Topic: A php code to read the content of a webpage.
Replies: 8
Views: 634

TheMoose,

It does exactly as it would, but not to my intention.
Maybe I post the wrong question :( . Lets do it again.

How do I browse a webpage by php as exactly I type its url in the address box of a browser?

And thanks for being patience. ngungo
by ngungo
Thu Jun 15, 2006 9:28 am
Forum: PHP - Code
Topic: A php code to read the content of a webpage.
Replies: 8
Views: 634

This would almost solve my problem, but how do I display a url with a parameter. For example:

Code: Select all

http://www.somedomain.com/index.html?option=3
by ngungo
Thu Jun 15, 2006 9:13 am
Forum: PHP - Code
Topic: A php code to read the content of a webpage.
Replies: 8
Views: 634

Thanhs, The Moose.

I got that working. Now is a subsequent question: Is there a php function which serves a html file? Basically, it would do this sequence:

fopen();
file_read_contents_();
echo();
by ngungo
Sat Jun 10, 2006 9:57 am
Forum: PHP - Theory and Design
Topic: Searching and Sorting: Need Advice on the Design.
Replies: 9
Views: 1850

Hi Hockey,

I appreciate and thank for the quick response. I need time to digest your response.
by ngungo
Sat Jun 10, 2006 8:20 am
Forum: PHP - Theory and Design
Topic: Searching and Sorting: Need Advice on the Design.
Replies: 9
Views: 1850

Searching and Sorting: Need Advice on the Design.

I have a wiki-kike project. It stores tens of thousands Vietnamese articles on a modified phpBB platform. For each article (equivalent to a post) there is a quadruple: post #, title, author, genre. I would like to be able to list them out in alphabetical order of titles or authors. How do I approach...
by ngungo
Thu Jun 08, 2006 11:10 pm
Forum: PHP - Code
Topic: A php code to read the content of a webpage.
Replies: 8
Views: 634

A php code to read the content of a webpage.

Hi,

I am a .NET programmer switching to php. I used to do this with C#, I wonder if someone can give me a hint of how to read in the content of a webpage provided an URL. Thanks in advance.

ngungo