Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / NewStats: 3,194,386 members, 7,954,560 topics. Date: Friday, 20 September 2024 at 10:16 PM |
Nairaland Forum / Science/Technology / Webmasters / How To Break Down A Link In Php Code, & Call/include User Session Into The Link? (508 Views)
I Am A Pharmacy Student Struggling To Break Into The World Of Coding / Anyone Who Can Help Me Solve This Php Code Will Gets 1k Glo Airtime / Php Code To Make A Forum Support Youtube Embed On A Post (2) (3) (4)
How To Break Down A Link In Php Code, & Call/include User Session Into The Link? by fineboynl(m): 8:51am On Aug 09, 2018 |
for developer only pleased help me out, i need to call the sms APIs on my project i'm working on, its a user session account area. http://api.ebulksms.com:8080/sendsms?username=mike3003@gmail.com&apikey=a4a2c93f419ae9e6bd5gh56608326ae045ec298&sender=informan&messagetext=Welcome_sessionName&flash=1&recipients=2348158448958 is there any way i can break this link via php and insert session info into the link from sql database table and call it? eg $_SESSION['hl_user']['phone']; will be in that recipients, message to send e.t.c |
Re: How To Break Down A Link In Php Code, & Call/include User Session Into The Link? by LaiveNg: 10:21am On Aug 09, 2018 |
Your idea is vague; it's not clear what you want to do. Normally an SMS API should have parameters to help you make requests. Simply use urlencode() function to encode the parameters you'll be sending to the URL. |
Re: How To Break Down A Link In Php Code, & Call/include User Session Into The Link? by fineboynl(m): 6:57pm On Aug 09, 2018 |
LaiveNg: please help me out with the urlencode. I need to implement it inside php this below code work well but the problem is that i want to include session data from my sql database into that recipients instead, but $_SESSION['hl_user']['phone']; brings error.
|
Re: How To Break Down A Link In Php Code, & Call/include User Session Into The Link? by LaiveNg: 7:08pm On Aug 11, 2018 |
Ensure you add session_start() on the very top of the page you wish to use the session variables. And also, PHP session values are usually accessed using $_SESSION['your_key_here']; AND NOT $_SESSION['dummy_stuff']['your_key_here']. |
Re: How To Break Down A Link In Php Code, & Call/include User Session Into The Link? by fineboynl(m): 4:41pm On Aug 15, 2018 |
LaiveNg:i yes, did that, i'm sure it need function. string, can you help me out with this. i have glo 1k for you. |
Re: How To Break Down A Link In Php Code, & Call/include User Session Into The Link? by LaiveNg: 5:21pm On Aug 15, 2018 |
Let me see your code and the error message being spit out. Whatsapp 09055589180 Voice call 07014509524. |
Re: How To Break Down A Link In Php Code, & Call/include User Session Into The Link? by fineboynl(m): 7:03pm On Aug 15, 2018 |
LaiveNg:your last seen on WhatsApp was Sunday |
Re: How To Break Down A Link In Php Code, & Call/include User Session Into The Link? by LaiveNg: 9:00pm On Aug 15, 2018 |
fineboynl:That's not the issue. My replies on Whatsapp are only for important messages. I have replied yours. |
Re: How To Break Down A Link In Php Code, & Call/include User Session Into The Link? by fineboynl(m): 9:03pm On Aug 15, 2018 |
LaiveNg:already open that in another thread and called you. open the thread |
(1) (Reply)
I Urgently Need An Active Nigerian Facebook Group Of 300, 000 Members / Cheapest Airtel Data Plan For Modem And Android / Get Any Kind Of The Following Websites For Just #10k
(Go Up)
Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health religion celebs tv-movies music-radio literature webmasters programming techmarket Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10) Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 15 |