Before I start coding my webpage, I'd like to know if I'll be able to test curl functions without my site being online.

I know you can test webpages in browsers offline. Can curl still get me data from other websites while I have internet access, but my site is not on the web?

I'd like to avoid investing in a domain name and hosting fees until my site is finished, if possible. Are there any solutions that bypass the need for me to spend money while I test my code?

Sorry for the stupid question, but I searched and couldn't find answers. Probably because the answer is obvious.

Thanks,

Wyatt

Yes curl can fetch data from other websites on localhost if it is enabled.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.