Clan Adverts

Sponsors

CT on Facebook

Latest Product

User Box

Anonymous
38.107.179.220
Nickname:

Password:

Security Code
Security Code
Type Security Code


PND Downloads Feed

Phpnuke Downloads
How to Delete or Reset yo...
How to Delete or Reset your PHPNuke Admin Account
Lost your admin password ?  Cant login to your admin account ? This s...
Back Online & Stuff
Back Online & Stuff
Look at us with our nifty website back up and running… Seriously...
How to edit the admins in...
How to edit the admins in the forums
Here is a way to make someone admin in your forums on your Evo site. I...
Demo Splash Screen
Demo Splash Screen
Ped @ Clan Themes has released a simple splash screen entrance hack. ...
Free Phpnuke Business The...
Free Phpnuke Business Theme 6
This is the 6th Business theme for Phpnuke that Clan Themes has releas...
Tricked Out Slider
Tricked Out Slider
We have seen some great new things come out of Tricked Out News and th...

Custom Work

PHP Nuke Custom Work

www.clanthemes.com :: View topic - Php script help!!
Php script help!!

1 Replies / 1139 Views


Post new topic   Reply to topic  

   www.clanthemes.com Forum Index » General PhpNuke

View previous topic :: View next topic


crushedsouls
Reputation: 41.7 Add RepSubtract Rep
Local time: 12:21 PM

uk.gif

Tree Hugger
Tree Hugger

0.04 posts per day
Medals: 0

Joined: Jan 12, 2008
Last Visit: 01 Jul 2011
Posts: 71
Points: 2545 

Post Php script help!! Posted: Mon Aug 11, 2008 3:35 pm

Shop Purchases:
Topsites Manager V1 PhpNuke Module

Hi guys

I need a little help.

im buildding a module for Nuke and
i have 5 upload fields, 2 of these fields are required to be used, i now how to make it so that 1 field must be used but how would i do it for 2 fields

Here is what i have

if ($_FILES['Screen1']['tmp_name'] == "" && $_FILES['Screen2']['tmp_name'] == "" && $_FILES['Screen3']['tmp_name'] == "" && $_FILES['Screen4']['tmp_name'] == "" && $_FILES['Screen5']['tmp_name'] == "") {
$screen_err = "alert(\"Error: Please Submit a minimum of '2' ScreenShots! \");";
$send = "no";
}

I guessed that another if ($_FILES with 4 other fields would have worked but i guessed wrong :)

Any help would be appreciated

Thanks
 

 
View user's profileSend private messageVisit poster's website Reply with quote

crushedsouls
Reputation: 41.7 Add RepSubtract Rep
Local time: 12:21 PM

uk.gif

Tree Hugger
Tree Hugger

0.04 posts per day
Medals: 0

Joined: Jan 12, 2008
Last Visit: 01 Jul 2011
Posts: 71
Points: 2545 

Post Re: Php script help!! Posted: Mon Aug 11, 2008 4:10 pm

Shop Purchases:
Topsites Manager V1 PhpNuke Module

Its ok Untergang has told me how

Thanks
 

 
View user's profileSend private messageVisit poster's website Reply with quote
Post new topic   Reply to topic  
   www.clanthemes.com Forum Index » General PhpNuke


 
1 Replies / 1139 Views
Page 1 of 1
All times are GMT
Display posts from previous:   
 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum