Jump to content

esport

Members
  • Posts

    98
  • Joined

  • Last visited

Contact Methods

  • Website URL
    http://www.esportclubs.com.au

Profile Information

  • Gender
    Not Telling

esport's Achievements

Member

Member (2/5)

0

Reputation

  1. Thanks heaps gizmola it works. Is it possible to have both of these rewrites working at the same time. ie. for both ports
  2. Hi Guys, I have just had an SSL certificate installed to my site. It was installed to the subdomain. I have a rewrite on the sub domain so http://orderonline.mydomain.com.au uses web servers from the same server but in another account. This rewrite work fine. RewriteCond %{SERVER_PORT} 80 RewriteRule ^orderonline/?$ /~dsoft/themes/RIV00/ However I can't seem it work with the https. The https is directed to the subfolder 'orderoline'. How do I do a rewrite for the https to point to the same directory as /~dsoft/themes/RIV00/ Thanks in advance. Daniel
  3. Hi, I am developing a website for a client an when viewing the website in ie6 the background image doesn't appear and instead is replaced with a grey background. Here is a link to the site http://www.dairytechrefrig.com.au/new/ If you view it in FF or any other browser including ie but not ie6, it appears correctly. I have attached a screen shot of the website in what it looks like in ie6. Here is code i am using. #middle{ background-attachment:fixed; background: url(../images/middle.jpg) no-repeat scroll left top transparent; background-repeat:no-repeat; position:relative; height: 231px !important; margin-top: 52px; width: 969px; display: block; overflow: visible; } [attachment deleted by admin]
  4. Hi Guys, I have a query with a sub query in it. I runs extremely slow and i was wondering if there is an alternative way to optimise it. I want to count the number sold between 2 dates and grouped by state. Here is what I currently have SELECT erg.Manufacturer (SELECT SUM(NumberSold) as num_sold FROM erg_data erg_vic WHERE erg_vic.DeliveryState = 'VIC' AND erg_vic.Manufacturer = erg.Manufacturer AND (DeliveryMonth='12' AND DeliveryYear='2010')) AS num_sales_vic , (SELECT SUM(NumberSold) as num_sold FROM erg_data erg erg_nsw WHERE erg_nsw.DeliveryState = 'NSW' AND erg_nsw.Manufacturer = erg.Manufacturer AND (DeliveryMonth='12' AND DeliveryYear='2010')) AS num_sales_nsw FROM erg_data erg WHERE (DeliveryMonth='12' AND DeliveryYear='2010') GROUP BY erg.Manufacturer All information is from the 1 table. How do i count and group at the same time without the sub queries. Hope this makes sense. Thanks in advance Daniel
  5. thanks for your help thorpe. I will give it a go and get back to you. I have no experience in web services so its all new to me. I am a web developer and have been programing in PHP for many years. I did a little bit of research and i am assuming these lines go in the file httpd.conf. Now I'm using a hosting company to host my sites, so i will need to get in contact with them to get me access to this file. Thanks Daniel
  6. Thats what I was planning to do. I was hoping to have the application in a central point which each account will access the application. However each account to appear as if they are on there own server rather than appearing on the central point in which they access the application from. Im still a little confused how to go about this.
  7. hi thorpe, thanks for your prompt reply. I'm going to use a VPS to host the application. I'm not sure exactly what you mean or how to access the application from other accounts on the vps. However there are going to websites that don't sit on this vps. Is this not possible for these domains? Daniel
  8. Hey guys, I'm developing an online ordering system portal with multiple accounts. Each account will access the one system so if I make any updates on the system, all accounts will receive the updates.I'm thinking to have each account as a sub domain. eg. shop1.example.com shop2.example.com Each account will be accessed by external websites. I'm not sure if this is possible or how to go about this. How do I make it so when they go to shop1.example.com it will display there website. So if there website was shop1.com and they go the ordering section, how would i make it so shop1.example.com will be aliased as shop1.com. This is so when people go on there website it seems like the ordering system is on their website account not on another website. I hope this makes sense. Any advice would be much appreciated. Thanks Daniel
  9. I managed to work it out. I did sub queries. eg. SELECT c.id as client_id, ( SELECT COUNT(p.client_id) FROM projects p WHERE p.client_id = c.id ) AS num_projects, ( SELECT COUNT(o.client_id) FROM client_opportunity o WHERE o.client_id = c.id ) AS num_opportunities FROM client c
  10. Unfortunately it didn't work. It produces the same count value for both tables. It seems like it produces the highest count value. Thanks Daniel
  11. Thanks for your help. I will have a go and let you know how i went. Daniel
  12. Hi Guys, I have a table of categories. I want to display all the categories. I also want to display how many times they appear in 2 other tables. I could do 2 more queries to count the number of times they appear, but i was wondering if i could do this in 1 query so I could order them asc and desc by the number of times they appear in other tables. Thanks Daniel
  13. Does anyone have any ideas? I have no idea why this error is being produced? What causes this error. Its passing the file across.
  14. Here is the code that calls the image upload class and attached is the image class file $upload_class = new Upload_image; $upload_class->temp_file_name =$_FILES['photo']['tmp_name']; $upload_class->file_name = $photo_name; $upload_class->upload_dir = $image_url; $upload_class->max_file_size = 100000; $upload_class->max_width = $widthArray[$i]; $upload_class->max_height = $heightArray[$i]; $upload_class->extension_array = array('jpg','jpeg','jpe'); $check_ext = $upload_class->validate_extension(); $check_size = $upload_class->validate_image_size(); $i++; $upload_class->upload_image(); [attachment deleted by admin]
  15. Hi Guys, I have an image upload script that was working fine on one server and now is producing errors on another. The function that I am using is: getimagesize() and is producing the error message: Filename cannot be empty in Now the php version is 4.4 GD library is installed and enabled. Not sure what causes this error. I echoed $_FILES['file']['tmp_name'] so I know there is something being passed to the function. ?? Any ideas. I have done a little research on the forums and net but cant find an answer. Cheers d
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.