Upload zip, rar in one folder specific and Extract zip, rar in one folder specific
Gypaete Offline
Member
***
Posts: 82
Joined: Aug 2010
Post: #21
RE: Upload zip, rar in one folder specific and Extract zip, rar in one folder specific
You mean I asked my host if it allows this functions?
I've done, I'm waiting for your Email.

[Image: selenab.png]
08-23-2011 02:37 AM
Find all posts by this user Quote this message in a reply
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #22
RE: Upload zip, rar in one folder specific and Extract zip, rar in one folder specific
What I mean is:
(08-22-2011 08:16 PM)Gypaete Wrote:  

PHP Code:
$conn_id = @ftp_connect("ftp.strato.com");

OR

PHP Code:
$conn_id = @ftp_connect("ftp://ftp.strato.com");


08-23-2011 04:26 AM
Find all posts by this user Quote this message in a reply
Gypaete Offline
Member
***
Posts: 82
Joined: Aug 2010
Post: #23
RE: Upload zip, rar in one folder specific and Extract zip, rar in one folder specific
I use this:

PHP Code:
1
2
3
4
5
6
7
function newCap($Fansub, $Serie, $Capitulo)
{
 	if(!@mkdir(MO_ROOT."mo/mangas/$Fansub/$Serie/$Capitulo"))
	{
		return true;
	}
}

Is better. xD


[Image: selenab.png]
(This post was last modified: 08-29-2011 01:44 AM by Gypaete.)
08-29-2011 01:44 AM
Find all posts by this user Quote this message in a reply
Gypaete Offline
Member
***
Posts: 82
Joined: Aug 2010
Post: #24
RE: Upload zip, rar in one folder specific and Extract zip, rar in one folder specific
I had to download the "Pclzip" to extract the .Zip.

Now the problem I have is, for example, this is the contents of a zip:
mybb_1604 (Folder) -> (Inside the folder) php files.

In order to extract the contents should be:
PHP files (inside the zip)

How I can do with PHP (if so), it enters the folder "mybb_1604" to extract the files?

I hope you understand me.

[Image: selenab.png]
09-03-2011 11:48 PM
Find all posts by this user Quote this message in a reply
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #25
RE: Upload zip, rar in one folder specific and Extract zip, rar in one folder specific
Go through the extraction code and write stuff to a different place.

My Blog
09-04-2011 08:34 AM
Find all posts by this user Quote this message in a reply
Gypaete Offline
Member
***
Posts: 82
Joined: Aug 2010
Post: #26
RE: Upload zip, rar in one folder specific and Extract zip, rar in one folder specific
Sorry, but I don't understand where you're going.

[Image: selenab.png]
09-05-2011 12:01 AM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

 Standard Tools
Forum Jump: