Search found 1124 matches
34SP.com Forum Index
Author Message
  Topic: Slow as a dog
say_ten

Replies: 4
Views: 3637

PostForum: Website Support   Posted: Fri Sep 19, 2008 8:14 am   Subject: Slow as a dog
If you're experiencing slow across multiple servers it suggests some kind of networking issue, rather than a server issue, and not necessarily with 34SP. When we're looking at routing problems we use ...
  Topic: Placing CheckBox results into an Array
say_ten

Replies: 13
Views: 9337

PostForum: Scripting Support   Posted: Fri Sep 19, 2008 8:09 am   Subject: Placing CheckBox results into an Array
If you name all your checkboxes the same then all the values get submitted by the browser. PHP will take the one of the values by default. However, if you give the checkboxes a name ending in <in ...
  Topic: Zip extraction for header reading
say_ten

Replies: 2
Views: 2790

PostForum: Scripting Support   Posted: Thu Aug 21, 2008 7:25 am   Subject: Zip extraction for header reading
My first instinct would be to just extract all the mp3s to a directory. Step through the directory and process each. If you use fastcgi then you have access to backticks, don't know if unzip is inst ...
  Topic: Passing data to variables with register_globals OFF - HOW??
say_ten

Replies: 5
Views: 4718

PostForum: Scripting Support   Posted: Thu Jul 31, 2008 7:03 am   Subject: Passing data to variables with register_globals OFF - HOW??
Pretty much, you can also use:

$_REQUEST[]

to retrieve from get, post or cookie in that preference order.
  Topic: Magento Ecommerce on 34SP: Prevented by PHP safe mode?
say_ten

Replies: 2
Views: 3860

PostForum: Scripting Support   Posted: Wed Jul 30, 2008 6:45 am   Subject: Magento Ecommerce on 34SP: Prevented by PHP safe mode?
I highly recommend the "PHPFCGI" installation that you can get at http://scripts.34sp.com/

Not only does it avoid files being created as the web server user, it also runs with safe_mode o ...
  Topic: Performing Maths in PHP
say_ten

Replies: 3
Views: 3582

PostForum: Scripting Support   Posted: Tue Jul 22, 2008 8:05 am   Subject: Performing Maths in PHP
Okay, some dissection

All the assignments at the beginning seem kinda pointless, especially as you only use one per if statement. I would move the table output code into a function that takes t ...
  Topic: Performing Maths in PHP
say_ten

Replies: 3
Views: 3582

PostForum: Scripting Support   Posted: Mon Jul 21, 2008 8:01 am   Subject: Performing Maths in PHP
PHP, like most programming languages, supports an array of mathematical operators. An example to calculate your legal fees would be simply:

$legalFees = $_POST['value'] * 0.05;

Which would assi ...
  Topic: PHP not parsing
say_ten

Replies: 5
Views: 3992

PostForum: Website Support   Posted: Mon Jul 21, 2008 7:58 am   Subject: PHP not parsing
I don't recall if short PHP tags are enabled on 34SP or not, they're not a good thing regardless due to mix ups with XML syntax. Try changing your:

<?

to:

<?php
  Topic: beta testing music recomendation site
say_ten

Replies: 3
Views: 5657

PostForum: Sites hosted by 34SP.com   Posted: Sat Jun 14, 2008 6:12 am   Subject: beta testing music recomendation site
From my 30s test:

1) You've not set a default background colour.
2) I went to look for bands of a similar style to which I only have/know 4 or 5 bands, I entered 3. If it doesn't work with less t ...
  Topic: remove GET variables from the url but still parse them?
say_ten

Replies: 6
Views: 5717

PostForum: Scripting Support   Posted: Sat Jun 14, 2008 6:08 am   Subject: remove GET variables from the url but still parse them?
It's not stealing when it's given away free ;p
  Topic: MySQL database edited from PHP site
say_ten

Replies: 3
Views: 3588

PostForum: Website Support   Posted: Fri Jun 13, 2008 8:11 am   Subject: MySQL database edited from PHP site
So rather than doing Echo "$name", you do Echo "<input type="text" name="$name"> ???
Yep, except the HTML would be <input type="text" name=" ...
  Topic: site security, help please
say_ten

Replies: 4
Views: 3993

PostForum: Website Support   Posted: Thu Jun 12, 2008 8:08 am   Subject: site security, help please
I've changed my ftp password. The access logs don't seem to go back that far. Also, if I click on FTPstats (or any stats) Plesk7 brings up a new window plus a password dialog - what password is this, ...
  Topic: MySQL database edited from PHP site
say_ten

Replies: 3
Views: 3588

PostForum: Website Support   Posted: Thu Jun 12, 2008 7:52 am   Subject: MySQL database edited from PHP site
An edit form is just an amalgamation of the view and the create. Use the same system as you do to display to retrieve the data. Instead of outputting it as you would normally output it into a form w ...
  Topic: site security, help please
say_ten

Replies: 4
Views: 3993

PostForum: Website Support   Posted: Wed Jun 11, 2008 8:06 am   Subject: site security, help please
Change any passwords that allow you to upload. Also, check any software your running for updated versions. Checking your access logs, if they're still intact, could give a hint at if it was a web si ...
  Topic: php error driving me nuts
say_ten

Replies: 1
Views: 2781

PostForum: Scripting Support   Posted: Fri May 23, 2008 8:11 am   Subject: php error driving me nuts
It's not a unix permissions error. Safe mode is restricting access based on the executor of the script, in the case of mod_pgp that is the apache user, and the owner of the director, which will be yo ...
  Topic: Can Overusing IP addresses be automatically blocked?
say_ten

Replies: 1
Views: 2344

PostForum: Website Support   Posted: Tue May 06, 2008 9:03 am   Subject: Can Overusing IP addresses be automatically blocked?
If it was a search engine take a look at robots.txt. Otherwise you'd need to script something for you site.
  Topic: how to hide website to update online
say_ten

Replies: 1
Views: 2330

PostForum: Website Support   Posted: Wed Apr 02, 2008 8:38 am   Subject: how to hide website to update online
Password protect the directory, you can do this from within Plesk.
  Topic: Database Driven Sites -V- Non Database Driven Sites
say_ten

Replies: 1
Views: 2307

PostForum: Website Support   Posted: Thu Jan 17, 2008 9:04 am   Subject: Database Driven Sites -V- Non Database Driven Sites
It's all about best thing for the job. I wouldn't do an e-commerce site that wasn't database driven for example. However, if all you have is a information site then there's no real need to DB drive ...
  Topic: Replication between two tables
say_ten

Replies: 2
Views: 4969

PostForum: Database Support   Posted: Mon Dec 17, 2007 8:45 am   Subject: Replication between two tables
I view would have been a better option but again the shared server prevents that. Just thought I'd mention it if you fancied reading ;p
  Topic: k9 SQL down
say_ten

Replies: 1
Views: 4385

PostForum: Database Support   Posted: Mon Nov 26, 2007 8:45 am   Subject: k9 SQL down
But it never would have if you didn't post ;p
Page 1 of 57 Goto page 1, 2, 3 ... 55, 56, 57  Next
All times are GMT
Jump to:  
Powered by phpBB © 2001, 2002 phpBB Group