PHP: Fopen or simplexml

Namecheap AuctionsNamecheap Auctions
SpaceshipSpaceship
SpaceshipSpaceship
Watch

kedaar

Established Member
Impact
14
Hi,

I have written a script using fopen, however I can use simplexml to retrieve XML feed. As a lazy dominer I have reused the PHP script that was writter few years back using fopen.
I would like to know, would it be any performance issues if I keep fopen? Or I should be rewriting using simplexml.

I am expecting 100-200 hits on the page.

Thanking you,
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
To be honest the best way is to actually try it and see what performance hit it has.

If you are getting the xml from an external site you would probably be better using cURL to retrieve the data.
 
0
•••
To be honest the best way is to actually try it and see what performance hit it has.

If you are getting the xml from an external site you would probably be better using cURL to retrieve the data.

Thx Peter,

I was not aware of cURL. I will have to dig the info on cURL.
 
0
•••
DomainEasy: white label portfolios are live. Enable yours.

We're social

Escrow.com
Spaceship
Escrowly
CryptoExchange.com
Domain Recover

NamePros updates

New in Parking: updated way to act on many domains or inquiries at once
Your domain list and inquiry list now have a bar above and below the list. Check the items you want, then choose an action in the bar...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back