Jump to content

oracle765

Members
  • Posts

    219
  • Joined

  • Last visited

Posts posted by oracle765

  1. Hi Professionals

     

    I have a batch file that's runs fine.  So what I am trying to do is when a user clicks a link then that batch file runs problem is I cannot get this to work via html/php

     

     

    It wont let me upload the file so here is the line of code

     

    <td width="33%" align="left"> <a href="batchfiles/"<?php exec(CleanseChars.bat); ?>">Cleanse Characters"</a></td>

     

     

    thanks in advance

  2. Hi All

     

    I have been figuring out how to query an api which I have managed to do and provide the output to screen. as you can see on compareandchoose.com.au/testrest.php

     

    problem is I am not sure how to pass the variables into the API (which I can then query) and produce these in a readable format.  Similar to travelsupermarkets hotel menu

     

    I can be contact on admin@compareandchoose.com.au

     

    Please provide an example of your skills, availability and price

     

    Thanks

    Alan

  3. Hi Kicken

     

    that's brilliant that works thanks very much, however I am now faced with another problem.

     

    Because the files are in .GZ format I cant seem to unzip them I get an error message as shown in the new attached file saying

     

    gzip: invalid suffix ''

    feedimport.txt

  4. HI Professionals

     

    I have a cron job (attached) which runs a .sh script (attached) to download a csv file from an affiliate.

     

    Problem is in the URL part it comes across the $ sign within the url and cuts part of the url away so I only receive a blank empty file.

     

    I have also attached the results from the cronjob any ideas whats going wrong as when I paste the url into the browser there is obviously nothing there because it has been chopped

  5. I tried putting /usr/bin/php -f /home/username/public_html/scripts/masters.php in the cron job but then the emails stopped coming through

     

    I also tried typing http://www.compareandchoose.com.au/scripts/masters.php in the browser and ti also did not load the data into the database but just shows a blank screen as there is no html output

     

    I am so lost as to what it could be because those ` parenthesis around $dbH don't even exist in my code

  6. Hi Epsilon

     

     

    thanks for that, I have moved the PHP and done what you said and all is working ok apart from the footer of the page, the content I am extracting from the database is still displaying cut off at the bottom of the page if I set the results per page 4 or more.

     

    I have tried everything but cannot pinpoint exactly where the problem lies

  7. Hi Professionals

     

    I am struggling with my webpage which you can see located at www.compareandchoose.com.au/fashionindex.php

     

    I have the transparent writing over the photo.jpg which overlaps my content and also the bottom of the left menu, right menu and results content is cut off at the bottom.

     

    I have been working on this for hours but as I am new to php/css I just cannot figure out what properties are incorrect

     

    I have also managed to take out the header and footer and include them in include files but cannot figure out how to do this for the left menu and right menu without the page totally messing up.

     

    I will attach the files and included files to see if anyone can figure out what seems to be causing the problems

     

    OH and thanks in advance to anyone

    fashionindex.php

    style.css

    header.php

    footer.php

  8. hey physco thanks for that it works great.

     

    just one thing I have notice which I am confused about is which DB connection is it using or is it using both as I am including the config file as shown above but also specifying the connection within the webpage code?

     

    as you state it is better to take out as much as possible from the actual page then I only have to make any changes in one place.

     

     

    thanks again you have been more than helpful in resolving my problem

×
×
  • 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.