Jump to content

OM2

Members
  • Posts

    255
  • Joined

  • Last visited

Profile Information

  • Gender
    Not Telling

OM2's Achievements

Regular Member

Regular Member (3/5)

0

Reputation

  1. I want PHP code to let me do similar to wetransfer - where you can just upload files by dropping them into the browser window. You can email a link or just get a link Files get automatically deleted after xx time The whole concept seems super simple. I thought there would be plenty of open source code doing the same out there? Cant find any. I have found one script - only $17 - no problem buying - but just thought there are bound to be well developed free open source code? Thanks OM
  2. I have a PHP script coded for me by a freelancer. The script takes 4-5 minutes to complete running - it has to wait for data from a few websites. I have to keep my browser open. Not a problem on desktop - run and do something else and come back 10 min later and I have my download link. I would like to run from my mobile. The problem is I have chosen to have it sleep after 30 seconds (and want to keep that way) if nothing is done to interact with the screen. So... I thought I could call the code on a URL line and then have the results emailed as a link to download. The freelancers seems to think this would not be straight forward. I thought I'd get a second opinion. Any thoughts? Thanks OM
  3. I need to Web scrape a website I need to access from different ip addresses I've found a website that gives out ip numbers to use for free The problem is that they change + old ones don't work after a certain time Is there anyway I can test and make sure an ip address is working before using? What happens if I use an ip address that isn't working? Does the real ip address of my server get sent instead? Thanks OM
  4. @QuickOldCar, thanks for the reply i didn't know someone had replied to my post - no email notification received i've posted the project on a freelancer website i'm looking to get help writing the code YES: i can write code myself... but would rather get a kickstart for the code + have fully explained + have some guidance on how to adapt for different websites send me a PM if you think you can help (i'll check my PM tonight and tomorrow) the websites i need to use on are eBay and Amazon thanks
  5. I need to scrape pages - I only need one page at a time I'm only looking for 2/3 bits of data within each page Can someone give me some pointers where to start? I've searched and see names like DOMXpath and Xpath mentioned - do I need these? It's important that I can run the script on a standard Linux hosting with nothing extra installed like packages - I'd like to have something I can just use immediately using standard php and functions I've seen plenty of tutorials + youtube videos - just looking for recommendations and pointers for recommended practices Thanks OM
  6. I want to parse email data and then forward to another email address I came across Mandrill and Mailgun I 'think' both will do what I want Just wondering if anyone had used? Why do they give away a HUGE number of emails you can send for free? Thanks OM
  7. I want some code to receive email, reformat and then forward to another email address I'm not sure where to start with this Does the application need to be constantly running - monitoring incoming emails? What is involved? I did a search and saw many discussions saying that Google App Engine was available for usage I've no experience of this Just looking for suggestions Thanks OM
  8. I need to store variables that look something like this: 3434432545 -> 32435219098999, title description 21 4455332545 -> 32411111118999, title description 22 9987432545 -> 32435211112999, title description 23 2111432545 -> 32222319098999, title description 24 I'm OK to have the above information hard coded Answer: use an array? I used to code in Perl (many years ago!!). There you had something called a hash table (I think!). Apparently, that was much better for doing a lookup. Is there something equivalent in PHP? Also... it would be awesome if I could have something like this: 3434432545 -> 32435219098999, title description 21 4455332545 -> 32411111118999, 5657, title description 22 9987432545 -> 32435211112999, 32434, 2345, title description 23 2111432545 -> 32222319098999, 34243554, 43543, 453, title description 24 i.e. each object having potentially unlimited number of extra fields associated Question: to start with, I'll have 100 - 200 of the above. But if I had 5000 say, how would this impact in loading into memory? Or is that too small and not something to worry about? Thanks in advance! OM
  9. I want to create many PDF pages by using a PDF document template that uses place holders The data would come from a CSV file I've looked into a solution for the above for a couple of years now! I haven't found anything that would do the trick for me It seems as though PDF and PHP don't go well - especially if I want to use a template with place holders Just looking for suggestions Thanks EDIT: forget PDF... is it possible to use something else? Like a Word doc?? OM
  10. I buy code to use on my Wordpress sites Is there code anywhere that will search a set of PHP files and report back if the code has encrypted code? I thought there would be loads. I've done a google and can't find anything (not sure if I searched for the right terms) Thanks OM
  11. I'm writing a spec for some coding I need to have done I need to have a CSV file read in and parsed The data in total would be 200kb - with 500 - 600 rows Is there any problem in storing the data in memory and processing The some of the data in each row needs to be parsed and cleaned Or should I just be storing into a table and then processing? Thanks Omar
  12. @Muddy_Funster, thanks for the reply. i didn't realise i had a reply - didn't get email notification i'll give that a go and will post back
  13. I will have a PHP file Within that PHP file I'll have something like this: <!-- #### Start of my code --> <!-- #### End of my code --> I want to write code that replaces everything between those 2 delimeters in the file I'm just not sure where to start with the pattern matching - seems so complex to me right now I'd like to make water tight as possible - I want to have several of these in the same file Any code to help me start would be great Thanks OM
  14. I want to have a PDF template with xx number of fields I want PHP to read in data from a source - maybe like a CSV file for example and create copies of the PDF for every record For example, say I have a CSV file with 10 rows, I want a PDF document that is 10 pages long - each page is filled in with fields from each row Is this possible? I've done some googling and the answer seems to be a flat no! No one has figured out how to do this yet? There's many people asking questions, but no one seems to have figured it out yet Does anyone know of anything that might solve my problem? Thanks OM
  15. I know how to code I don't need to learn about arrays and sorting and other things But... when I look at code, I just get lost!! I don't know what the heck is happening It all seems daunting Where does this function relate to? Why isn't this variable declared somewhere? What does this line do?? Is there anywhere I can find code samples that give a line by line explanation on everything + More and more complex examples - leading onto using Object Oriented code and frameworks Thanks OM
×
×
  • 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.