When iam trying to use header twice in 000webhost free account it is not working?

|
raj_eswar 2019-05-30 09:35:36
Can any one please help me out urgent.
rohit267 2019-05-30 10:04:16
raj_eswar 2019-05-30 09:33:25
When iam trying to use header twice in 000webhost free account it is not working?

If(isset(sessionvaribales))
{
header();
exit();
}
And iam using same header in same file to set session and redirect but it’s not working

header takes and argument as string, the string is an url like header(“location: index.php”)

rohit267 2019-05-30 10:07:56
raj_eswar 2019-05-30 09:35:36
Can any one please help me out urgent.

https://www.php.net/manual/en/function.header.php

Shashi_q 2019-05-30 12:15:07
Warning: Unknown: failed to open stream: Permission denied in Unknown on line 0

Fatal error: Unknown: Failed opening required ‘/home/q1fh4zz5vwsy/public_html/administration/index.php’ (include_path=’.:/opt/alt/php56/usr/share/pear:/opt/alt/php56/usr/share/php’) in Unknown on line 0

my website showing this error

any solution….?

saiks24 2019-05-30 12:20:03
raj_eswar 2019-05-30 09:33:25
When iam trying to use header twice in 000webhost free account it is not working?

If(isset(sessionvaribales))
{
header();
exit();
}
And iam using same header in same file to set session and redirect but it’s not working

func header() required parametr. For redirect use: header(‘Location: path_to_redirect’);

Shashi_q 2019-05-30 12:27:40
Shashi_q 2019-05-30 12:15:07
Warning: Unknown: failed to open stream: Permission denied in Unknown on line 0

Fatal error: Unknown: Failed opening required ‘/home/q1fh4zz5vwsy/public_html/administration/index.php’ (include_path=’.:/opt/alt/php56/usr/share/pear:/opt/alt/php56/usr/share/php’) in Unknown on line 0

my website showing this error

any solution….?

..anyone help

saiks24 2019-05-30 12:39:47
Shashi_q 2019-05-30 12:27:40
..anyone help

permissions on index.php file ?

Shashi_q 2019-05-30 12:44:44
saiks24 2019-05-30 12:39:47
permissions on index.php file ?

no

saiks24 2019-05-30 12:50:34
Shashi_q 2019-05-30 12:44:44
no

you hosting – is shared hosting?

saiks24 2019-05-30 12:50:39
or vds?
Shashi_q 2019-05-30 12:53:08
saiks24 2019-05-30 12:50:34
you hosting – is shared hosting?

shared

rohit267 2019-05-30 12:57:47
Shashi_q 2019-05-30 12:53:08
shared

Website?

rohit267 2019-05-30 12:58:30
Shashi_q 2019-05-30 12:15:07
Warning: Unknown: failed to open stream: Permission denied in Unknown on line 0

Fatal error: Unknown: Failed opening required ‘/home/q1fh4zz5vwsy/public_html/administration/index.php’ (include_path=’.:/opt/alt/php56/usr/share/pear:/opt/alt/php56/usr/share/php’) in Unknown on line 0

my website showing this error

any solution….?

You are including which file?

manish singh 2019-05-30 13:00:50
Shashi_q 2019-05-30 12:15:07
Warning: Unknown: failed to open stream: Permission denied in Unknown on line 0

Fatal error: Unknown: Failed opening required ‘/home/q1fh4zz5vwsy/public_html/administration/index.php’ (include_path=’.:/opt/alt/php56/usr/share/pear:/opt/alt/php56/usr/share/php’) in Unknown on line 0

my website showing this error

any solution….?

Permissions issue

manish singh 2019-05-30 13:00:57
777 permissions
manish singh 2019-05-30 13:01:20
Sudo chmod -R 777 foldername
Shashi_q 2019-05-30 13:03:06
manish singh 2019-05-30 13:00:50
Permissions issue

ok let me check

Shashi_q 2019-05-30 13:53:36
manish singh 2019-05-30 13:01:20
Sudo chmod -R 777 foldername

thanks bro it worked

2019-05-30 14:58:24
Sudo mkdir – m foldername
rohit267 2019-05-30 15:08:36
Get work get paid
rohit267 2019-05-30 15:08:51
Learn php frameworks
rohit267 2019-05-30 15:09:10
Anyone here on Fiver?
rohit267 2019-05-30 15:09:57
And earning?
rohit267 2019-05-30 15:17:36
Companies
rohit267 2019-05-30 15:17:47
Get a job as php developer
rohit267 2019-05-30 15:18:06
Like
rohit267 2019-05-30 15:18:41
10 years is too much
rohit267 2019-05-30 15:19:02
I am a full stack, getting bachelor degree after 2 years
rohit267 2019-05-30 15:19:21
Its the least qualification for a technical job
rohit267 2019-05-30 15:20:41
Or work as a freelancer
rohit267 2019-05-30 15:20:58
Get connections and refrals
raj_eswar 2019-05-30 15:21:08
saiks24 2019-05-30 12:20:03
func header() required parametr. For redirect use: header(‘Location: path_to_redirect’);

I have given parameters I just typed the outline code

rohit267 2019-05-30 15:22:00
Lucky u save the money, don’t smoke
rohit267 2019-05-30 15:23:02
At least u started, i just do it for free
rohit267 2019-05-30 15:23:35
In which i can get at least 10$
rohit267 2019-05-30 15:25:09
That’s the point dude, show ur mom u earned something
rohit267 2019-05-30 15:29:53
Fuck games, i cant concentrate on studies bcz of PUBG and CS
i_am_ro0t 2019-05-30 15:37:43
That’s funny 😄
hotboy_178 2019-05-30 18:42:59
hi guys whats the mean of this error
hotboy_178 2019-05-30 18:43:00
im trying to send data to db with ajax
hotboy_178 2019-05-30 18:43:00
im facing
hotboy_178 2019-05-30 18:43:01
luv_php-3406.jpg

hotboy_178 2019-05-30 18:43:18
anyone will help me ?
saiks24 2019-05-30 18:48:16
hotboy_178 2019-05-30 18:43:18
anyone will help me ?

you server sended not json data, on success

saiks24 2019-05-30 18:48:41
hotboy_178 2019-05-30 18:43:18
anyone will help me ?

but you client-side code required JSON

hotboy_178 2019-05-30 18:49:48
hmmmm look at my code
rohit267 2019-05-30 18:50:28
hotboy_178 2019-05-30 18:43:01

rewrite the ajax function,

hotboy_178 2019-05-30 18:50:56
rohit267 2019-05-30 18:50:28
rewrite the ajax function,

damn ok

rohit267 2019-05-30 18:51:12
Use jQuery
saiks24 2019-05-30 18:51:37
rohit267 2019-05-30 18:51:12
Use jQuery

he already used jqerry?

|