Welcome Guest [Log In] [Register]
Search Members Calendar | Rules ZB Code Index IF Code Index
ZBCode
  • Navigation
  • ZBCode
  • Coding Support
  • Code University
  • PHP on forums
Hey, welcome to ZBCode, the premier coding forum for ZB. Here you fill find some of the best Invisionfree and Zetaboards Codes on the network! Unfortunately, you're sorta hovering around in guest mode at the moment; why not join in on the fun? Register an account and you can start accessing the wealth of resources we have available here. Enjoy your stay at ZBCode, and remember to tell all your friends about us; the more members, the more codes available. ;)

Interested in joining? Click here.


If you are already a member of ZBCode, feel free to login right here:

Username:   Password:
Locked Topic
PHP on forums
Tweet Topic Started: Oct 31 2008, 05:43 PM (331 Views)
Agent Moose Oct 31 2008, 05:43 PM Post #1
Member Avatar
SMF for Free Moderator

Posts:
838
Group:
Former Staff
Member
#14
Joined:
Jul 9, 2008
This is something I always wanted to know how to do. Use PHP on forums.

Got any kind of Open Source code I can look at or something?
You could call me Troy :P | The World of Moosey | Newest Blog: SMF for Free Spam Code

Current Project: Zetaboard Javascript Tester (click on the link in the Submenu)

ZetaBoard Javascript Tester Features:
- Code Test box
- Counts how many open brackets/parentheses and closed brackets/parentheses you have in your code to make sure that your code will work.
- New: Inspect Element
Offline Profile Goto Top
 
slayer766 Oct 31 2008, 07:38 PM Post #2
Member Avatar
Hello all

Posts:
1,653
Group:
Distinguished Coder
Member
#12
Joined:
Jul 9, 2008
Coding language
PHP
Here you go: http://if.invisionfree.com/topic/156105
Offline Profile Goto Top
 
Agent Moose Oct 31 2008, 09:18 PM Post #3
Member Avatar
SMF for Free Moderator

Posts:
838
Group:
Former Staff
Member
#14
Joined:
Jul 9, 2008
Hmm...I was thinking of it being more just a PHP code, such as this one:
http://support.zetaboards.com/topic/108126/1/
You could call me Troy :P | The World of Moosey | Newest Blog: SMF for Free Spam Code

Current Project: Zetaboard Javascript Tester (click on the link in the Submenu)

ZetaBoard Javascript Tester Features:
- Code Test box
- Counts how many open brackets/parentheses and closed brackets/parentheses you have in your code to make sure that your code will work.
- New: Inspect Element
Offline Profile Goto Top
 
James Dec 11 2008, 05:46 PM Post #4


Posts:
25
Group:
Member
Member
#44
Joined:
Jul 17, 2008
Coding language
PHP
Agent Moose
Oct 31 2008, 09:18 PM
Hmm...I was thinking of it being more just a PHP code, such as this one:
http://support.zetaboards.com/topic/108126/1/
Lol my old script. I removed that :P Anyway, on another host, upload a program, could be anything, for example:
Code:
 

<?php
$var = 'Choco taught me how to do this so I\'m taking no credit!';
echo $var;
?>


So obviously that will echo out the obvious on your own www.domain.com. Next, go to your Zetaboards, and using javascript:
Code:
 

<script type="text/javascript" src="www.domain.com"></script>

This will echo out the PHP on your board. Hope this makes sense.
Current Project: Content Management System
Progress: 0%
Laziness: 100%
Offline Profile Goto Top
 
Agent Moose Dec 11 2008, 09:26 PM Post #5
Member Avatar
SMF for Free Moderator

Posts:
838
Group:
Former Staff
Member
#14
Joined:
Jul 9, 2008
Thanks.
I was talking to choco today about this :P I havn't even looked here until now :)

Choco told me to do it this way though:
Code:
 
<?php
$Rawr = "The text";
?>
document.write("<?php echo $Rawr ?>");


Thanks though :P
Now I need to find me a good host.
Edited by Agent Moose, Dec 11 2008, 09:30 PM.
You could call me Troy :P | The World of Moosey | Newest Blog: SMF for Free Spam Code

Current Project: Zetaboard Javascript Tester (click on the link in the Submenu)

ZetaBoard Javascript Tester Features:
- Code Test box
- Counts how many open brackets/parentheses and closed brackets/parentheses you have in your code to make sure that your code will work.
- New: Inspect Element
Offline Profile Goto Top
 
skiggs Dec 12 2008, 05:43 PM Post #6
Member Avatar


Posts:
16
Group:
Member
Member
#1,681
Joined:
Dec 3, 2008
Coding language
HTML/CSS
Ripway is usually a pretty good host, and to the best of my knowledge it supports PHP and almost any and all types of files, and is free, though limited, and can have unlimited bandwith if you pay a small fee. (I don't know what that is, I havn't payed for it since I don't need all that bandwith
Offline Profile Goto Top
 
Agent Moose Dec 12 2008, 10:44 PM Post #7
Member Avatar
SMF for Free Moderator

Posts:
838
Group:
Former Staff
Member
#14
Joined:
Jul 9, 2008
The problem with ripway is that it doesn't support cUrl, which is needed if I want to grab information from a page using PHP.
You could call me Troy :P | The World of Moosey | Newest Blog: SMF for Free Spam Code

Current Project: Zetaboard Javascript Tester (click on the link in the Submenu)

ZetaBoard Javascript Tester Features:
- Code Test box
- Counts how many open brackets/parentheses and closed brackets/parentheses you have in your code to make sure that your code will work.
- New: Inspect Element
Offline Profile Goto Top
 
James Dec 14 2008, 08:14 PM Post #8


Posts:
25
Group:
Member
Member
#44
Joined:
Jul 17, 2008
Coding language
PHP
I found this in thbp's signature, supports cURL, 200mb disk space.
Current Project: Content Management System
Progress: 0%
Laziness: 100%
Offline Profile Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Code University · Next Topic »
Locked Topic

Track Topic · E-mail Topic Time: 7:43 PM Jul 10
Hosted for free by ZetaBoards · Privacy Policy