borfast
Members-
Posts
3,271 -
Joined
-
Last visited
Everything posted by borfast
-
Stranger, why do you say they are just blogs? They all have a plugin/modules architecture and allow much more functionalities than a blog right out of the box. As I said previously, I haven't played enough with eZpublish but I found it quite confusing and I guess I just gave up on it. I think I'll try it again just to make sure...
-
Ellen, I'm not sure what you need from a PHP download script. Download count? Referrer tracking? I know I posted something about this here on the forums not long ago but I can't seem to find the post Anyway, these google searches provided some links which might give you what you need. Hope this helps. If it's not what you want or if you need help setting it up, just post a message here and I'll be glad to help you find something that suits your needs or help you with the instalation of the script
-
I believe that screen resolution has to be tracked with JavaScript. It's been a while since I've played with that kind of stuff but it's something I have always wanted to do: a JS tracking script, to track screen resolution, installed plugins, etc, etc. I guess now it's a good time to start working on it If I can come up with something usable, I'll make a post here in the forums with it. Perhaps then everyone can contribute to make it a nice script
-
I haven't played enough with Agora to be able to tell you for sure but perhaps Plug'n'pay is not supported in the Agora version available in CPanel. Have you checked if it's the same version announced on the website?
-
Welcome to the team, Deverill
-
I'd suggest you try the full install. The package you download from their website contains an instalation guide that is pretty easy to follow.
-
How can I easily insert a PHP scrip into an html page?
borfast replied to George's topic in Scripting Talk
"Assumption is the mother of all mess ups" (the wording is not exactly this, but you get the point ) I was indeed assuming that this method (the AddType stuff inside .htaccess) would work but now that I've tried it myself I see that it does not work. I also searched a little about it and it seems that this is a known problem when the .shtml extension is assigned to SSI files within the main Apache configuration file. So I guess the only option left is to rename all the .shtml files to .php Thanks for the heads up, Singer. It's been stupid of me not trying this sooner. It would have saved us a lot of time and work. -
TCH doesn't give support for third party tools. It doesn't mean TCH doesn't tell it's customers to use them if they have them available on CPanel
-
In Cpanel you have the option to create forwards. A forward will send a copy of each e-mail received to the account you specify and keeps the original in the mailbox. If you want to get a copy of each e-mail sent too, you'll have to do that on the e-mail client. I can't see a way to do that on CPanel...
-
Now that's a good idea! I should do that too That's what I call a real Challenge (notice the capital 'C' ) My grandmother can't learn how to use a cell phone! I can't imagine how it would be like to put her in front of a computer and try to convince her that it's not a television and she's in fact controling that little arrow that moves around the screen. I wonder what she'd think of pressing "buttons" that are not really there... something that she can't touch with her own hands but instead has to use that little thing attached to a cord... It must be really confusing for old people but now that I think about it, it's quite interesting too "A typewriter that does not print in paper but instead displays the characters in a television. Wait, it gets better: you can delete characters simply by pressing a button! Oh joy!"
-
LOL That is so true... I have that same problem. I keep trying to teach them how to do basic stuff, so they don't need to call me every time they need to do something a little out of the ordinary but they just seem to be afraid of learning computer related stuff
-
I don't hide my address from friends, family or co-workers either - but they all get educated before I give them my address Unless, of course, I know beforehand that they won't spread my address. For instance, I gave you guys my personal address because I don't think you'll make bad use of it
-
That's why very few people have my personal e-mail address and those who do I make sure are educated by me Besides, whenever someone sends me an e-mail (to any of my addresses) and that e-mail has multiple recipients with visible e-mail addresses, they get a nice message from me explaining why they shouldn't send messages with visible multiple recipients (virus take advantage of it, spammers too...) and asking them to use BCC for the recipients
-
How can I easily insert a PHP scrip into an html page?
borfast replied to George's topic in Scripting Talk
OK, I think I found the problem that was preventing the script from working in the first place: instead of >include_once "http://www.avantixgroup.com/acounter/acounter.php"; put just >include_once "acounter/acounter.php"; As for the permissions of /public_html , you don't need to change those, so keep them as they were (I can see your website now, so you probably have already done that). Then just add the following line to the end of your .htaccess (the one inside your public_html folder): >AddType application/x-httpd-php .php .shtml Note that the last one is ".shtml", not just ".html" I tried pointing my browser to http://www.avantixgroup.com/ and the page showed up fine, with the exception of having the "create_output("index.shtml"); ?>" stuff in the bottom but if you add that line to .htaccess, it should work. Don't change anything else, just add the line I mentioned to the file "/public_html/.htaccess" and remember that it's ".shtml", not just ".html" -
How can I easily insert a PHP scrip into an html page?
borfast replied to George's topic in Scripting Talk
George, let's pause for a little and look at the situation. Perhaps we've skiped an important step of the process somewhere along the way. Could you please describe exactly the steps you performed until now? Let's see if we can pinpoint the problem... -
No problem. Glad it worked
-
Sarah, if you could post (or send it to me in a PM, whichever you prefer) the relevant code I could take a look at it and try to figure out what's wrong.
-
How can I easily insert a PHP scrip into an html page?
borfast replied to George's topic in Scripting Talk
Ian is right, the PHP files don't need their permissions set to 755. I just said that because it's what's on the script installation instructions and I guess I went with the flow -
Well, you do need to include the "deltata_" prefix before the database name but this shouldn't have anything to do with the other error... First, change the database name in your config.php: $dbname = "deltata_phpnuke"; The username doesn't need the "deltata" prefix so you can leave it as it is. Now, regarding the "undefined function" error... have you uploaded every single file needed by the script? What that error means is that PHP-Nuke wants to call a function (message_die())that should be somewhere it could find it but it doesn't. I'd guess this has something to do with include paths... What I mean is that PHP-Nuke probably has some configuration option to specify the directory on the server where it's working. Then it builds the paths to the rest of the files it needs based on that configuration option. If this option was not set correctly, then PHP-Nuke will not be able to load other files it needs, thus not finding the functions it wants to call. If you could post the rest of your configuration file (ommiting all the usernames, passwords and other sensitive data) we'd be able to see if this is the case. EDIT: Scratch that. I just downloaded PHP-Nuke and it has no paths to configure...
-
How can I easily insert a PHP scrip into an html page?
borfast replied to George's topic in Scripting Talk
No need to go away, I won't byte Just kidding, of course Seriously, two heads are always better than one, so keep your eyes on this thread, Jack. No matter how much one knows about something, one never knows when he/she will mess things up without realizing. That's why I always like others to look at my suggestions and correct me where I'm wrong, or suggest different approaches Let's see what George decides. One way or the other, the important thing is that he can do what he wants -
I'm not sure I understood the problem. If you upload a file named "index.php" to your /public_html folder, it will automatically be displayed on your browser when you visit www.asdf.com As for the Nuke stuff, you can simply upload the contents of the folder you want to upload, into /public_html. PHP-Nuke and Post-Nuke both have an index.php file that, as I said above, if placed in /public_html will be loaded automatically on the browser when you visit www.asdf.com If that's not the answer to your problem, could you please specify a bit more?
-
I was about to visit the URLs you posted but none of them seems to resolve. Is this a problem with my connection or is anyone experiencing the same?
-
How can I easily insert a PHP scrip into an html page?
borfast replied to George's topic in Scripting Talk
Hi George. Sorry for taking so long to reply, I wasn't home (it's my sister's birthday, so we went out for dinner) About the AddType stuff, you can add it anywhere in the .htaccess file, it doesn't really matter, as long as you don't put it between two already existing tags. To be safe, just add it to the end of the file. And don't worry, it won't mess up your website. Edit Oops... I didn't notice Jack's reply. Jack is right about the .php extension. Well, half right, anyway The usual way is indeed to use .php extensions for PHP scripts. I just suggested that you used the .htaccess method because I was supposing you'd have other pages on your site and if you were to change the extensions from .shtml to .php, you'd have to change all the links on all the pages. If you are willing to do that (or if you don't have that many links after all), do it. It's the best way to go and you won't need to use the .htaccess stuff. If you don't want to go to the trouble of changing the links, try the .htaccess method. The problem here is that Apache (the web server) knows that files with .php extension should be processed by the PHP engine but treats files with .html (and .shtml) extensions as being plain HTML files with no scripts in them. So what we want to do by using the .htaccess method is to tell Apache that on the directory where the .htaccess file resides, every file with an .shtml extension should also be treated as containing PHP code. Which reminds me: you're using just .html in the AddType line when you should have .shtml. Use this instead: AddType application/x-httpd-php .php .shtml Let us know if this does the trick or if you prefer to change the .shtml extensions into .php Edit 2 I just visited the URL you posted but instead of a webpage, I got a dialog asking me what I wanted to do with the file I was trying to get. Is anyone else getting this? I saved the file to my computer and after looking at the code I might have a clue on why it's happening: Microsoft stuff everywhere! The code is so full of non-standard stuff that Mozilla and Opera don't know what to do with it Anyway, I looked at the PHP section and it's placed correctly. Now you just need to fix the .htaccess AddType thing and you should be ready to go -
If you want some files to be available under www.asdf.net you need to upload them to the public_html folder (anything below that level will not be available on the web, by the way). There's no way to upload a folder into /public_html/ and make it available on www.asdf.net because /public_html/ *is* www.asdf.net. Hope this clarifies it
-
Well, if it says 755, it's better to use 755. I said 777 because I had just replied to another thread where George needed to use 777, so I guess I was in the modd
