Kamran Jabbar

PHP

Support group for those afflicted with PHP. Don't ask to ask, ...
May 21, 2019 09:59
Say all things, have a nice day.
May 21, 2019 09:58
Anything else?
May 21, 2019 09:56
Okay, thanks.
May 21, 2019 09:54
@Sjon
So it means when someone is stuck he should place the question on one platform only? Of Course everyone do this when stuck somewhere, the ultimate goal is the solution not to say why are you posting everywhere.
May 21, 2019 09:52
Once I have solution, definitely I will post the answer to help others.
May 21, 2019 09:50
I am not spamming dear, I am asking about that and currently working on it.
May 21, 2019 09:46
0
Q: Generate wallet public and private key using web3 PHP

Kamran JabbarI am using this to get public key: https://github.com/sc0Vu/web3.php#assign-value-to-outside-scopefrom-callback-scope-to-outside-scope I am in need of to get the public and private key using PHP web3 like this: https://web3js.readthedocs.io/en/1.0/web3-eth-accounts.html#create How can I do th...

May 21, 2019 09:46
If someone from blockchain background and web3, have a look on this issue. Thanks
Jan 24, 2019 20:47
I only got with builtin functions.
Jan 24, 2019 20:47
Okay I can understand, I already spent much time on this thing.
Jan 24, 2019 20:45
@Code4R7 actually there is requirement to implement the string should be converted to binary of 8 digits 0,1
Jan 24, 2019 20:43
0
Q: String to binary without built in functions in PHP

Kamran JabbarI want to convert a string to binary but without using PHP built in functions, but we can use loops. Can you please help or privide the related article. Example: Binary of 'ok' string should be '01101111|01101011|00001101'

Aug 10, 2018 15:08
I have one custom named cookie which I need to set if url contains get parameter.
Aug 10, 2018 14:59
I simply set in this way
setcookie('4artref', $referralCode, time()+31536000, "/");
Aug 10, 2018 14:52
No when cookie is set that work as desired but mostly not set. Mean there is no issue of disappears.
Aug 10, 2018 14:35
Anyone else who is open to help me. ?
Aug 10, 2018 14:35
Okay.
Aug 10, 2018 14:34
On live I have two servers and AWS ELB used there.
Aug 10, 2018 14:34
Yes
Aug 10, 2018 14:33
I set when someone refer to other user and get code from URL and set in cookie after that if user signup then user becomes referral of other who provided the ref url. But when I go in chrome to Application -> Cookies -> mysite.com, cookie is not there mostly, but some of the time that set successfuly, on local that is working fine.
Aug 10, 2018 14:33
No, locally it is working fine
Aug 10, 2018 14:32
Can some help ?
Aug 10, 2018 14:32
0
Q: Cookie is not setting in PHP in browser ?

Kamran JabbarI have a site and that is deployed on AWS two servers and I have used AWS sticky sessions. Website is in PHP WordPress, some of the time cookie is set but mostly not. How can I solve the issue ? I used cookie set in this way in PHP setcookie('4artref', $referralCode, time()+31536000, "/");

Aug 10, 2018 14:32
I am facing this issue
I have a site and that is deployed on AWS two servers and I have used AWS sticky sessions. Website is in PHP WordPress, some of the time cookie is set but mostly not. How can I solve the issue ? I used cookie set in this way in PHP

setcookie('4artref', $referralCode, time()+31536000, "/");
May 30, 2018 10:42
BTW Thanks. :)
May 30, 2018 10:42
Ok good suggestion, but about editing the source is not good approach as if I update the plugin later that will overwrite each and everything so extending hook is a good approach.
May 30, 2018 10:39
Any help will be appreciated.
May 30, 2018 10:39
Need answer on it, as after spending much hours in searching no hook found
May 30, 2018 10:38
0
Q: userpro email verification hook so that I can add custom data?

Kamran JabbarIs there any userpro email verification hook so that I can add custom data to the database after user click on email verification link from mailing inbox?

May 30, 2018 10:38
Any wordpress expert here?
Mar 9, 2018 20:10
Any documentation for it?
Mar 9, 2018 20:09
Great
Mar 9, 2018 20:06
How many type of errors in PHP?