Search found 22 matches

by Pinex
Mon Nov 21, 2005 8:51 am
Forum: PHP General
Topic: I want to make a web page for freeing software.
Replies: 6
Views: 2130

Here is more info about what i'm thinking of, in case someone wants to help out.
http://bindersen.org/filer/index.html

Any feadback is appreciated.
by Pinex
Mon Nov 21, 2005 8:07 am
Forum: PHP General
Topic: I want to make a web page for freeing software.
Replies: 6
Views: 2130

Yes, im afraid I have to!
So the project is probably abit stuck already!?
by Pinex
Mon Nov 21, 2005 6:45 am
Forum: PHP General
Topic: I want to make a web page for freeing software.
Replies: 6
Views: 2130

I don't think I want to use mambo or php-nuke, it's to much code! I want it to be simple code, as in really simple . The first thing i would like to build is a simple rating system. It require 2 databases. - Member database - Rating database The list in the wepage has to be something like this: Soft...
by Pinex
Sun Nov 20, 2005 6:12 am
Forum: PHP General
Topic: I want to make a web page for freeing software.
Replies: 6
Views: 2130

I want to make a web page for freeing software.

I want to make a web page for freeing software. I's going to be a rather aggressive web page that recommends software organizations to make free versions of their original products. (Of curse it can be limited versions, but i have to be functional, not shareware, and 100% free!) It's an ideal thing....
by Pinex
Tue Dec 10, 2002 9:53 am
Forum: PHP coding => General
Topic: Uploading multiple files @ once..?
Replies: 25
Views: 9632

??

Did I wrote something wrong and/or was that "snipp" some kind of suggestion and/or did I forget to tell that I'm a newbe?
by Pinex
Tue Dec 10, 2002 6:02 am
Forum: PHP coding => General
Topic: Uploading multiple files @ once..?
Replies: 25
Views: 9632

Hi again!

I like some of the functions in the script i suggested in the beginning of this topic. But there is a code I want to add, but I dont know how to do it! //checks if file exists if ($img1_name == "") { $log .= "No file selected for upload 1<br>"; } if ($img1_n...
by Pinex
Mon Nov 18, 2002 10:36 am
Forum: PHP coding => General
Topic: Uploading multiple files @ once..?
Replies: 25
Views: 9632

Here it is...

It's not mine... and I dont know whos it is... Html: <html> <head> <title>Upload Image</title> </head> <body> <form method=POST action=do_upload.php enctype=multipart/form-data> <p>Files to upload:<br> <input type=file name=img1 size=30><br> <input type=file name=img2 size=30><br> <input type=file n...
by Pinex
Mon Nov 18, 2002 4:01 am
Forum: PHP coding => General
Topic: I want $_GET to get more.
Replies: 1
Views: 880

I want $_GET to get more.

I have some: foreach ($_GET as $prn => $PD) print .$PD."&nbsp;".$name."&nbsp;...." But i want it to get the $name an display it to.. I cant use : foreach ($_GET as $prn => $PD) foreach ($_GET as $name => $N) print .$PD."&nbsp;".$N."&nbsp;...." Why, and how do I do something like that...
by Pinex
Mon Nov 18, 2002 3:20 am
Forum: PHP coding => General
Topic: Uploading multiple files @ once..?
Replies: 25
Views: 9632

Hi I hawe a php script....

I have a php script that does something like that... I found it some time ago and I don't know who made it and where to download it. If anybody knows tell me. I would like to get some expert feadback on it before you use it... Maybe the moderator (Pejone) would give us a comment?! Do you want me to ...
by Pinex
Sat Nov 16, 2002 2:29 pm
Forum: PHP coding => General
Topic: I want PHP to display 4 alternatives in my table...
Replies: 7
Views: 2843

I got hlp!

Check
www.php-forum.com/forums/showthread.php?s=&postid=394
No more Q! ;]-
by Pinex
Sat Nov 16, 2002 11:15 am
Forum: PHP coding => General
Topic: I want PHP to display 4 alternatives in my table...
Replies: 7
Views: 2843

Simple question I guess.

Move the $dirB = "image folder/"; $extB = ".jpg"; $dirPD = "detail folder/"; $extPD = ".php"; $icon = "$dirB$prn$extB"; out of the loop. Otherwise they'll be declared on every loop which wastes cycles. How do I bring it out of the loop, whithout losing the information in the loop. Im now working on...
by Pinex
Thu Nov 14, 2002 1:33 pm
Forum: PHP coding => General
Topic: I want PHP to display 4 alternatives in my table...
Replies: 7
Views: 2843

Sorry Jay...

Couple of things. Move the $dirB = "image folder/"; $extB = ".jpg"; $dirPD = "detail folder/"; $extPD = ".php"; $icon = "$dirB$prn$extB"; out of the loop. Otherwise they'll be declared on every loop which wastes cycles. Also, $icon should be $dirB.$prn.$extB, its much neater and syntacically correc...
by Pinex
Mon Nov 04, 2002 5:13 am
Forum: PHP coding => General
Topic: I want PHP to display 4 alternatives in my table...
Replies: 7
Views: 2843

This is what i did..

<?php print "<TABLE... </TR>\n"; $contents = file("file.txt"); while(list($num,$line) = each($contents)) { list(,$prn, $name, $descr, $ldescr) = explode("|",$line); $dirB = "image folder/"; $extB = ".jpg"; $dirPD = "detail folder/"; $extPD = ".php"; $icon = "$dirB$prn$extB"; if ((file_exists($icon))...
by Pinex
Sun Nov 03, 2002 7:21 pm
Forum: PHP coding => General
Topic: I want PHP to display 4 alternatives in my table...
Replies: 7
Views: 2843

It works.....

Thanks again Jay!

It's worcking fine. But I'm loocking forward to get some critical eyes on it...
I will make the "nasty" details availeble when I have got some sleep...

;]-
by Pinex
Fri Nov 01, 2002 12:51 pm
Forum: PHP coding => General
Topic: display a specific image depending on variable value
Replies: 6
Views: 2077

Does this help?

Yesterday I was locking for some functions to display images...
Found this at webmonkeys:

http://hotwired.lycos.com/webmonkey/01/ ... rogramming

Does it help?
Good luck!
;]-
by Pinex
Fri Nov 01, 2002 12:44 pm
Forum: PHP coding => General
Topic: I want PHP to display 4 alternatives in my table...
Replies: 7
Views: 2843

I want PHP to display 4 alternatives in my table...

I finally have a flatfile system (Thanks to Jay), and it's all sorted and organized by product number like this: |productnr|name|description|LongDescription|||||| Exaple: |234|Fish|Cod|Wery good cod from Norway| |43|Fish|Salmon|| |9|Boat|Speed boat|Fast speed boat, not good for fishing| |12|Mercury|...
by Pinex
Fri Nov 01, 2002 10:48 am
Forum: PHP coding => General
Topic: PHP flatfile flat-file...
Replies: 10
Views: 3235

Thanks alot Jay (guru) and DuchBen!

"It's alive"! The scriplets U guys gave me is just the way I like it! Tiny powerful code.. No extras. That's why I newer use WYSIWYG, I actually use Homesite 4.5.2, it enlightens the code in a beautiful way. I definitely know where to go with my php sorrows in the future! ;]- Pinex (Not so totally P...
by Pinex
Tue Oct 29, 2002 11:38 am
Forum: PHP coding => General
Topic: PHP flatfile flat-file...
Replies: 10
Views: 3235

"It's alive!" But I'd love som tips N trix.

I finally solved the riddle... I took the code you (Jay) gave me, and did my homeworck... I got som ideas from the m , and made this: <?php $contents = file("file.txt"); while(list($num,$line) = each($contents)) { $data = explode("|",$line); $info = array($data[1], $data[2], $data[3], $data[4], $dat...
by Pinex
Tue Oct 29, 2002 8:36 am
Forum: PHP coding => General
Topic: PHP flatfile flat-file...
Replies: 10
Views: 3235

First bug. Hwat did I do wrong?

I made: wiev.php ---------------------------- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title>test</title> </head> <body> <?php include("test.php"); ?> </body> </html> ---------------------------- test.php ---------------------------- <? $contents = file("file.txt...
by Pinex
Tue Oct 29, 2002 7:19 am
Forum: PHP coding => General
Topic: PHP flatfile flat-file...
Replies: 10
Views: 3235

I know..

...but I don't have access to a MySql on the server I'm using.
Is there another kind of databases thats not using MySql and that dont have to be installed on the server?
by Pinex
Tue Oct 29, 2002 6:36 am
Forum: PHP coding => General
Topic: PHP flatfile flat-file...
Replies: 10
Views: 3235

Thanks alot Jay... Anybody else?

"Ouhgh!!! " (right in the belly, cungfu style).
I forgot to tell that I'm actually a newbe in PHP, but i like a good challenge.
I'll try to solve the riddle ;]-


Is there a better name for flatfile?
by Pinex
Tue Oct 29, 2002 5:31 am
Forum: PHP coding => General
Topic: PHP flatfile flat-file...
Replies: 10
Views: 3235

PHP flatfile flat-file...

Help! I have a simple text file with product information built up something like this: |1234|Product name|description|other|other...|||||| |1235|Product name2|description2|other2|other2|||||| |39|Product name3|description3|other3|other3|||||| I don't have, and I dont want a MySql database for this p...