Forum Discussion
keegan_morrison
Nimbostratus
Oct 12, 2007can't add php files to codeshare
Hi, sorry if this is in the wrong place, i didnt know where else to put it.
I completed a nifty script to integrate some F5 information in to a wiki using php 5, and I would like to upload it. However, where i try to do that, it says i can't upload *.php files.
Should i change it to .txt, or can you enable php files to be uploaded?
Thanks.
4 Replies
- How about you add it to the iControl CodeShare wiki and just include the source as part of the wiki page.
http://devcentral.f5.com/Default.aspx?tabid=67&ctl=UserUpload&mid=425
Click here
Just paste the source for your php module in the source edit box.
In the future, if you do want to post .php files to the forum, just rename them to file.php.txt and you should be all set.
-Joe - keegan_morrison
Nimbostratus
hey joe, i tried just sudmitting the description, and it told me "You do not have access to view this tab within the portal."
Is that normal? - Could be another file extension permission setting that I missed. I'll take a look. In the mean time, if you could just append them to this thread as an attachment of .txt (ie. file.php.txt), I'll see what I can do to get the uploads working.
Sorry about the inconvenience - we appreciate your willingness to share!
-Joe - keegan_morrison
Nimbostratus
Joe, here's the php file. On the upload section. If you allow images, here is a screenshot of an example use: http://keegosoft.org/tmp/f5_small.jpg. If you allow pictures, please include the following description of the picture:
"The picture [below, right, above, left] shows an example of the getF5NodeStatus function. In the wiki table, there is an area for F5 Status, which has some information regarding the health of a node. This table section is returned by the function pre-formatted. All you need to do is call the function inside a table you've already created."
If you don't allow images, please provide this description:
"The getF5NodeStatus function will, given a partition and a node hostname, return part of a wikitable with information it has retrieved from the F5. The function should be called from within a table you have already created (ie, the function does not print the table start html code. Feel free to change it to do this if you wish.)"
Thanks a lot!
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects
