Jump to content

wildcards


abdulsamad

Recommended Posts

how do u use wildcards in php???

syntax nd xample please :)

 

Give an example of what you need to use wildcards for.  If it's for selecting stuff from a database, your database has built-in regex functions/operators/symbols.  If it's trying to find patterns in strings, php has built-in regex functions that include wildcard operators/symbols.

Link to comment
https://forums.phpfreaks.com/topic/129084-wildcards/#findComment-669230
Share on other sites

i m tRYinG tO maKE thE scRipT iN whICH i wiLl giVe a usErnAMe nD password and a link nD the link would b lyk

http://rs250.rsdnsi/12/23

wht i wanna do is tht put the usename nd password lyk this

http://username:[email protected]/23/23

i can write it lyk

echo "http".$username.$password.":".$link but the prblm is that $link also for http:// so it will b lyk

http://username:password@http://rs250.asds/23/23

but i don't want tht http://

so ny suggestions? 

Link to comment
https://forums.phpfreaks.com/topic/129084-wildcards/#findComment-669334
Share on other sites

Archived

This topic is now archived and is closed to further replies.

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