What's new

Ifile local host?

GoDuCkS001

New Member
Joined
May 18, 2012
Messages
3
Reaction score
0
can anyone help me create a local host using ifile? i just wanna write some simple php and html stuff but don't want to do it on my computer so if you know how to create a local host that i can connect to on my safari browser thatd be great :)
 
GoDuCkS001 said:
can anyone help me create a local host using ifile? i just wanna write some simple php and html stuff but don't want to do it on my computer so if you know how to create a local host that i can connect to on my safari browser thatd be great :)

I don't know how to do this...but I'm curious...

What exactly is the reason for this?
 
I don't know how to do this...but I'm curious...

What exactly is the reason for this?
I just wanna practice writing code in php and HTML but just need a local host to do it in my iPod cuz I'm almost never able to do it on my conputer
 
GoDuCkS001 said:
I just wanna practice writing code in php and HTML but just need a local host to do it in my iPod cuz I'm almost never able to do it on my conputer

Well I'm sure how exactly to do that..but open Cydia..and let your sources load.

I just seen 2 new tweaks/apps:
HTML Pro
and
Your First Application Pro

They literally just showed up in the changes section a few minutes ago. Hopefully this will help you out.

If you want to practice writing code for iOS then I'm pretty sure the best way to do that is no your computer with either an Ubuntu Linux or a Mac...but then again I am no expert.
 
Well I'm sure how exactly to do that..but open Cydia..and let your sources load.

I just seen 2 new tweaks/apps:
HTML Pro
and
Your First Application Pro

They literally just showed up in the changes section a few minutes ago. Hopefully this will help you out.

If you want to practice writing code for iOS then I'm pretty sure the best way to do that is no your computer with either an Ubuntu Linux or a Mac...but then again I am no expert.
Okily dokily thanks :)
Also if anyone knows how to make a directory for a local host in I file that'd be helpful too :)
 
Making a directory is easy. (as well as creating a file)

Open iFile
Find the area in which you want to make the directory (preferably in "/var").
Tap "Edit"
Tap the "+" sign in the lower left corner
Type in a name

Then under "Attributes" you can choose what you want to file to be. It is set to "Directory" by default, but you can change it to a regular file or a symbolic link.

To create a file do the same thing, except select "Regular File" under "Attributes".

It will make a blank file.

Tap the newly created file..then tap "Text Viewer" then when it opens it will just be empty space...then tap edit and add whatever line of code you need to.

Then tap "Save" and the file is created.

Depending on what type of file you may need to change the extension (.plist, .db, etc).

Tho if the file is gong to be host file it will have no extensions...it will just be "HOST", "Host" or "hosts"....or something like that.

I create my own files all the time. I fill them with Syslogs and crash reports to send to Devs so they can easily open them in iFile should they open the email on there phone.....And I know for a fact that no iOS developer would not have iFile installed.lol.
 
Last edited:
Why would you ever want to code a website on an iPhone? Also, there's no need to create a webserver in order to view HTML files on your phone, you can just open them right in iFile, but again, I don't know why anyone would want to code on their phone, seems like a pain in the butt!

Here is a mobile site I designed for my javascripting class loaded right from my var/mobile/Documents folder:
$IMG_0711.jpg
 
Jmills87 said:
Why would you ever want to code a website on an iPhone? Also, there's no need to create a webserver in order to view HTML files on your phone, you can just open them right in iFile, but again, I don't know why anyone would want to code on their phone, seems like a pain in the butt!

Here is a mobile site I designed for my javascripting class loaded right from my var/mobile/Documents folder:
<img src="http://www.iphoneforums.net/forum/attachment.php?attachmentid=6739"/>

LOL...I was wondering the same thing myself....I couldn't imagine the limitations one would have from trying to write code soley on there phone.lol.
 
Top