Login Register


Using your iDevice as a perfect webserver filter_list
Author
Message
Using your iDevice as a perfect webserver #1
In this tutorial I will cover how to use you iDevice as a Webserver that have database handling, and can redirect pages. Here we go.

1.) The first thing we need to have is lighttpd, this is a web server that can be used for your iDevice and is accessable from Cydia. You would wanna install that now.

2.) Once you got that installed you would wanna install the following things: mysql, php, iFile.

3.) Now you wanna go and download PHPMyAdmin Once you do that extract it to /var/www/phpmyadmin

4.) Now you wanna login via SSH/Mobile Terminal and execute "mysql". Now you wanna execute the following

Code:
UPDATE mysql.user SET Password=PASSWORD('yourpassword') WHERE User='root';

Code:
FLUSH PRIVILEGES;

5.) Now you successfully installed PHPMyAdmin! Go on and visit http://localhost/phpmyadmin or http://*Your iDevice IP address*/phpmyadmin

Screenshot of my setup
Spoiler:
[Image: D324QZR.png]


6.)

For the redirection, header won't work. There for use
Code:
echo '<META HTTP-EQUIV="Refresh" Content="0; URL=example.php">'; exit;

That's all, I hope somebody found this useful. Smile


I just found this tutorial on another found I'm active on. Thought I'd share it on here.
Tutorials & Releases:

[Tutorial] PHP: Getting Started
[Release] [HF Cool List] Are you cool?


PM me if you need any PHP help.

Reply

RE: Using your iDevice as a perfect webserver #2
This is a very good tutorial. But now I have to jailbreak on IOS7 :omg:

Reply

RE: Using your iDevice as a perfect webserver #3
(12-28-2013, 08:27 AM)Vip Wrote: This is a very good tutorial. But now I have to jailbreak on IOS7 :omg:

Hehe, I just have a downgraded iOS 6.1.4. I have SHSH blobs so I can even downgrade to iOS 4. Tongue
Tutorials & Releases:

[Tutorial] PHP: Getting Started
[Release] [HF Cool List] Are you cool?


PM me if you need any PHP help.

Reply

RE: Using your iDevice as a perfect webserver #4
(12-28-2013, 08:30 AM)Aces Wrote: Hehe, I just have a downgraded iOS 6.1.4. I have SHSH blobs so I can even downgrade to iOS 4. Tongue

I know that an untethered ios7 jailbreak was released but I read that the Cydia on it is unstable and that's why I don't want to jailbreak : p

Reply







Users browsing this thread: 1 Guest(s)