@GoldenJoe You need to learn how to debug stuff....there's no question there that can be answered without someone stepping though the code and figuring out what is going wrong.
@GoldenJoe You need to learn how to debug stuff....there's no question there that can be answered without someone stepping though the code and figuring out what is going wrong.
If you want to pay someone to debug your stuff, that's when you can start complaining about it not being answered.
Ok i found it fast when parsing HTML, but it was hard for me to think and get the correct regexp for each elements i wanted to extract from some pages.
@user3470815 Because regex isn't sufficient :) If your'e just doing some one off thing and your'e gonna throw it away when you're done, sure regex it up
But if this is something that is gonna be supporting some production level application use a parser
You can't parse [X]HTML with regex. Because HTML can't be parsed by regex. Regex is not a tool that can be used to correctly parse HTML. As I have answered in HTML-and-regex questions here so many times before, the use of regex will not allow you to consume HTML. Regular expressions are a tool th...
@user3470815 What happens is that some developer says "I'm gonna do it this quick way for this one thing and I'll come back and fix it later." Later comes, nothing ever gets fixed.
Do that for n number of years and you have your modern day PHP application
@user3470815 It would be easier to read and maintain that code
I don't worry about performance until you show me some profiling that the XML parsing is actually the bottleneck
In the vast majority of applications parsing a login form out of some HTML is not going to be the bottleneck
The first priority is make it readable and easy to maintain. The entire point of a high level language is to make it easier for humans to understand.
would you be able to take me through set up? I've been having this problem for daysss, and I've stopped coding because of it. It's been 2-3 days i've been messing with this.
im just gonna do a second full redownload of phpstorm
and re run the config... might swap wamp for xampp..
lets get back to the beginning.. what do you really want to do, what SPECIFIC problem you are encountering, and what codes have you done to achieve it.
Ok i have two dropdowns , i want to pass the values of the two dropdowns to php, and once that is ok, in php make a mysql query, and give results in a new window
I've a query regarding nusoap. Is there a __getFunctions() equivalent function in nusoap that I can use to get a list of calls that I can make to a web service?
I'm trying to login to Instagram programmatically with PHP and cURL. However, I seem to be missing some detail.
Here is the code:
<?php
$clientID = (my instagram id);
$redirectURI = (my instagram direct uri);
//$url="https://instagram.com/oauth/authorize/?client_id=".$clientID."&redirect_uri="...
i had a question when long pollling does ajax only update the data for example if im outputting html with a foreach loop and i long poll with ajax will it only update everything that the foreach loop output or just specific data.. via dotnet.dzone.com/articles/…
On my webspace i have only 5.3 php version and get this error: Parse error: syntax error, unexpected '[', how can i solve this to get runing also on 5.3 versoin? The code on this line is: $productids = [];
I was controversial this morning, but with a point
I'm sure there are plenty of white males who would love to attend conferences, and just can't afford it. They don't care about "representation", they would just love to go. And there are no groups that sponsor these people.
@JoeWatkins Why not? For example I have friends who would love to go to conferences, they fit that mould, lovely guys... hardly any pennies. It would be great if they could have some help to go and learn at these meetups
Well, it was partially in response to something I saw where they were paying for women, lgbt, people of colour to go to conferences. All of those, specifically stated like that.
> Strange Loop’s scholarship program provides support to women, people of color, and people with disabilities who may not otherwise have the opportunity to attend Strange Loop for financial reasons.
we are only apes, I'm not saying it makes sense they are allowed and white males aren't ... but none of it makes sense ... the thing to do here is not appeal to minority or majority groups of individuals, but rather appeal to those people who set the price of the tickets in the first place, goto the meetups and acquire free tickets for you to give away however you please, on the understanding they will go to anyone who cannot afford it ... that's much more noble in my view
I know a lot of conferences do have tickets waiting in the sidelines for free, because I got a two day one for phpuk and the code to get it had the word community in it ... I think you'd do quite well in getting organizers to play along if you done something like that actually ... and it's a good idea whatever the wording ..