Quantcast
Channel: Spiceworks Community
Browsing all 12 articles
Browse latest View live

Basic PHP Scripting

Hi,I have been asked to develop small script that will do the following (using PHP):1) take a string input and split it in two2) Take the second input and add it to the end of the urlMy question is how...

View Article



Basic PHP Scripting

Sounds like the Explode function is what you want to be using, assuming the input is always in the same format the below should do what you want:PHP$input = "Jack~12345-12345-12345";$url =...

View Article

Basic PHP Scripting

Chollis wrote:Sounds like the Explode function is what you want to be using, assuming the input is always in the same format the below should do what you want:PHP$input = "Jack~12345-12345-12345";$url...

View Article

Basic PHP Scripting

As Chollis stated that is the best way of doing it, I would suggest (unless you are positive the data will always be correct) that you maybe check for an occurance of a ~ prior to explodingTextif...

View Article

Basic PHP Scripting

I will always have a "~" as I am setting it on the server level to return it with that joining 2 separate items. But I will definitely make a note of your script as I do believe I will use it in a near...

View Article


Basic PHP Scripting

Haha, will do. I'll spam that code everywhere :P

View Article

Basic PHP Scripting

Hi,I have been asked to develop small script that will do the following (using PHP):1) take a string input and split it in two2) Take the second input and add it to the end of the urlMy question is how...

View Article

Basic PHP Scripting

Sounds like the Explode function is what you want to be using, assuming the input is always in the same format the below should do what you want:PHP$input = "Jack~12345-12345-12345";$url =...

View Article


Basic PHP Scripting

Chollis wrote:Sounds like the Explode function is what you want to be using, assuming the input is always in the same format the below should do what you want:PHP$input = "Jack~12345-12345-12345";$url...

View Article


Basic PHP Scripting

As Chollis stated that is the best way of doing it, I would suggest (unless you are positive the data will always be correct) that you maybe check for an occurance of a ~ prior to explodingTextif...

View Article

Basic PHP Scripting

I will always have a "~" as I am setting it on the server level to return it with that joining 2 separate items. But I will definitely make a note of your script as I do believe I will use it in a near...

View Article

Basic PHP Scripting

Haha, will do. I'll spam that code everywhere :P

View Article
Browsing all 12 articles
Browse latest View live




Latest Images