Posts by Diego • 83 points
8 posts
-
1
votes1
answer174
viewsQ: How to compare a zip code within an array with multiple ranges in PHP?
Eae personal! I’m needing a hint on how to filter a zip code into a list that will have multiple ranges, if (IF) the zip code is inside that list, run an HTML that has some strings in PHP. Basically…
-
0
votes0
answers456
viewsQ: Fill CAPTCHA field via CURL PHP with "Submit in Javascript"
How do I fill a field of a page in Curl and this does not send the data via form, but via Javascript? The page in question is this: <script type='text/javascript'…
-
0
votes1
answer834
viewsQ: PHP Curl Upload Images
I’m trying to upload using cURL in PHP on an external page. At first the command line of the external page that captures the photos is exactly this: <!-- BEGIN FIELD IMAGES --> <div…
-
0
votes2
answers567
viewsA: Add a fixed line to every 50 PHP CSV lines
Based on the idea of @Jeferson Assis I was able to adapt my script to: <?php $name = "bh"; $bigFile = fopen("$name.csv", "r"); $j = 0; $content = file_get_contents("$name.csv"); $content =…
-
1
votes2
answers567
viewsQ: Add a fixed line to every 50 PHP CSV lines
I have a problem. I have a CSV file with 490 lines (on average this value can vary) and I would like to add 1 certain number to every 50 lines. Each line basically consists of 10 numeric digits and…
-
5
votes1
answer548
viewsQ: 9 Type and Count Lines via Regex Notepad++
First doubt: How to convert a phone book that is in format: 1188888888 1288888888 3188888888 1187877766 for: 11988888888 12988888888 31988888888 11987877766 via Notepad++ regular expression? Or…
-
0
votes2
answers91
views -
0
votes2
answers91
views