Search found 10 matches

by TeeTwo
Tue May 29, 2012 5:14 am
Forum: General Discussion
Topic: Displaying formatted text
Replies: 1
Views: 978

Re: Displaying formatted text

I found a solution the output had a lot of backslashes that Wamp ignored but the server did not. I solved the problem by using the function stripslashes. It is amazing how a simple solution can be found. Thought I would post to maybe help others
by TeeTwo
Mon May 28, 2012 7:31 am
Forum: General Discussion
Topic: Displaying formatted text
Replies: 1
Views: 978

Displaying formatted text

I am trailing a rich edit widget in a php page. This works perfectly. To output I have a post action into a php file. My problem is this:- I have no problem at all when I run the files in WAMP but when I trial the same files online in a paid hosting site the received formatted text is transferred ok...
by TeeTwo
Mon Apr 02, 2012 8:09 am
Forum: PHP - Code
Topic: Unzip Problem
Replies: 7
Views: 1240

Re: Unzip Problem

Got it finished Trial here if anyone wants a copy http://zipupextract.comze.com
by TeeTwo
Sun Apr 01, 2012 7:42 am
Forum: PHP - Code
Topic: Help me to convert this vb6 code to PHP
Replies: 1
Views: 832

Re: Help me to convert this vb6 code to PHP

This appears to be a client side program. What does it do. Appears to be converting from one format to another. I would say that if it is handling say registration or log ins then a php version would be a re-write not a conversion
by TeeTwo
Sun Apr 01, 2012 7:27 am
Forum: PHP - Code
Topic: Unzip Problem
Replies: 7
Views: 1240

Re: Unzip Problem

This is what I write with my program I created to upload zip files. Strange I had no trouble getting the files to any server, I could dump them in the set directory but it created additional folders. Still this works <?php $zip = new ZipArchive; $res = $zip->open('Zip.zip'); if ($res === TRUE) { $zi...
by TeeTwo
Fri Mar 30, 2012 10:06 pm
Forum: PHP - Code
Topic: Unzip Problem
Replies: 7
Views: 1240

Re: Unzip Problem

Thanks for help. I did discover this. but no explanation it was in another script
$zip->extractTo(dirname(_File_');

This seems to work but I will note what you have.
by TeeTwo
Fri Mar 30, 2012 4:39 pm
Forum: PHP - Code
Topic: Unzip Problem
Replies: 7
Views: 1240

Re: Unzip Problem

Thanks for reply. The script is in Public_html/Test. In Test but when I run script it also creates Public_html/Test off the previous Test folder. I wish to extract to the original Test folder without creating more folders
by TeeTwo
Fri Mar 30, 2012 5:24 am
Forum: PHP - Code
Topic: Unzip Problem
Replies: 7
Views: 1240

Unzip Problem

I am uploading a zip file and a created unzip file to use and I am having the extractTo statement creating the folders. I wish to unzip in the same folder as the unzip script. It works ok only creates the folders Public_html/Test My code <?php $zip = new ZipArchive; $res = $zip->open('Decision.zip')...
by TeeTwo
Mon May 02, 2011 6:14 pm
Forum: PHP - Code
Topic: Selling with Paypal
Replies: 4
Views: 772

Re: Selling with Paypal

If I remember correctly using PayPals setup you are allowed to set a success page for the client to go to after the transaction. This can be success.php from there you can re open the database and change status. If you use sessions then you can track the client. There is plenty of help on accessing ...
by TeeTwo
Mon Oct 25, 2010 6:08 pm
Forum: PHP - Code
Topic: Formating a Text area
Replies: 1
Views: 66

Formating a Text area

I am creating a for sale site and I am using a text area to input a description and would like to be able to format the text. I then display what is effectivly the advertisement in another text area on a page with both PHP and html. Trouble is unless I place say non breaking spaces or br's the text ...