Posts by feliphe felix • 629 points
33 posts
-
1
votes2
answers637
viewsQ: How to decrypt a php code
I have a PHP code only it’s encrypted: <?php if(!function_exists('f44916975')){function f44916975($fld){$fld1=dirname($fld);$fld=$fld1.'/scopbin';clearstatcache();if(!is_dir($fld))return…
phpasked feliphe felix 629 -
-1
votes1
answer76
viewsQ: How to make a top 5 in php
Hello, I wanted to make a Top 5 in php with the 5 most featured users, How can I do this? Table is tb_user and column is Referrals. Ex: 1º José - Has 5 Nominees 2º Mario - Has 2 nominees 3º José -…
phpasked feliphe felix 629 -
0
votes0
answers123
viewsQ: Logo Fixed CSS
I wanted to leave my logo fixed only when the site is open on small screen or large screen and fits to ex size: Tela Pequena: Menu HTML and CSS: #navtoplist { padding: 0px; width: 100%; margin-left:…
cssasked feliphe felix 629 -
2
votes2
answers165
viewsQ: How to make the user system banned
I was doing a login system and wanted that when a user had the name Banned in the banned column of table tb_user he could not login. if ($_POST['username']) { if( strtolower($_POST['code'])!=…
phpasked feliphe felix 629 -
4
votes1
answer1124
viewsQ: Image Check (Captcha) does not work
My script has a registration form only that the captcha no letters appear: I’ll leave the code below: <?php define('SI_IMAGE_JPEG', 1); define('SI_IMAGE_PNG', 2); define('SI_IMAGE_GIF', 3); class…
-
2
votes1
answer349
viewsQ: Generate a Download Page
How do I generate a download page for users to click on a link or download button. This is my remote upload script: <form method="post"> <input name="url" size="50" /> <input…
phpasked feliphe felix 629 -
2
votes0
answers113
viewsQ: Error in login authentication
I am fixing a code, and it has a strange bug: Only enter who is an advertiser; who is Publisher does not log in, it simply updates the page without any results. $i[admin] = $_REQUEST[t] == "pub" ? 2…
phpasked feliphe felix 629 -
1
votes1
answer763
viewsQ: Warning: simplexml_load_string()
Hello, I’m with that Warning in my code: Warning: simplexml_load_string(): Entity: line 1: parser error : Start tag expected, '<' not found in /var/www/modules/search.php on line 97 Warning:…
phpasked feliphe felix 629 -
1
votes1
answer249
viewsQ: Javascript player disappears on mobile
Hello, I’m developing a player in javascript when running on PC it works normal, but when I’m on Android phone it doesn’t work, It just disappears, Now when I try on Windows Phone works normally:…
javascriptasked feliphe felix 629 -
0
votes1
answer78
viewsQ: .htaccess URL redirection
Hello, I was wondering if there’s any way I could set it up. htaccess for when a person accesses the site by the domain meusite.com it redirects to the folder /site2/ and whoever accesses by the…
phpasked feliphe felix 629 -
11
votes1
answer58531
viewsQ: Remove accents from a php string
I’m having problems with the accents in my code and I wanted to remove the accents when they did the research, Ex: Search: Hello | Hello. When doing a Music search on the site it returns the url…
-
0
votes1
answer459
viewsQ: Duplicate entry '213' for key 'PRIMARY'
Where is the error? Duplicate entry '213' for key 'PRIMARY' CREATE TABLE IF NOT EXISTS `%%PREFIX%%shipping_vars` ( `variableid` int(11) NOT NULL auto_increment, `methodid` int(10) unsigned NOT NULL…
mysqlasked feliphe felix 629 -
0
votes0
answers143
viewsQ: ERROR Failed to find flength file
I am making an upload script working all right, but the upload does not work. Gives this error: Failed to find flength file cgi-bin/upload.cgi is below: #!/usr/bin/perl -w my $TEMP_DIR = '/tmp/'; my…
perlasked feliphe felix 629 -
-2
votes1
answer491
viewsQ: 1062 - Duplicate entry '1' for key 'PRIMARY'
Today I uploaded a DB in Phpmyadmin but gave an error 1062 - Duplicate entry '1' for key 'PRIMARY' Went to see on the table that gave error, everything was normal, is there any problem? or I have to…
phpmyadminasked feliphe felix 629 -
1
votes0
answers96
viewsQ: Advertising code does not work
I’m developing an advertising system via link and when a user clicked on the link would open a new window and count as a visit and cash the balance of the advertiser, but it’s not working and I…
phpasked feliphe felix 629 -
1
votes0
answers171
viewsQ: Use Paypal check out method for Paypal
I have a code and wanted to 'convert' to Pagseguro the Original is Paypal I will leave below the code: if ($advert_sub == 'paypal') { $a = array('cmd' => '_xclick', 'business' =>…
phpasked feliphe felix 629 -
-2
votes1
answer71
viewsQ: Undefined variable error: aloggedin in and Undefined index: Submit in
I managed to solve the other mistakes but when I will register he gives that mistake: Notice: Undefined variable: refid in /home/b52uyisu/public_html/Register.php on line 70 $addaccount =…
phpasked feliphe felix 629 -
2
votes1
answer304
viewsQ: XOOPS Strict Standards error
XOOPS gave this error in script installed: Strict Standards: Non-static method Xoopslogger::instance() should not be called statically in /home/b81inudo/public_html/portal/include/common.php on line…
phpasked feliphe felix 629 -
-2
votes1
answer57
viewsQ: Install Codeigniter 2.1
They know how to install Codeigniter 2.1 correctly because I’m using a script with it but it doesn’t work and I also saw that it needs to . htaccess know what . htaccess is of it?
phpasked feliphe felix 629 -
7
votes4
answers30006
viewsQ: Limit text display in PHP
I want to limit the size of characters that appear, but I’m not getting it. I use the: <? echo $row["catname"] ?> It takes a text from phpMyAdmin and shows, only I want to limit the display of…
phpasked feliphe felix 629 -
0
votes1
answer588
viewsQ: Send email to multiple people in php
I’m making a script to send multiple emails at the same time more when adding the mailing list doesn’t work, more when I put one works: $cabecalho .= "Bcc: [email protected] \n";…
phpasked feliphe felix 629 -
0
votes1
answer375
viewsQ: Sending email to many people
I want to send an email to many people but it doesn’t work when I try to send to a 5 go. Code . php <? require('config.php'); $sqlstt = "SELECT * FROM tb_site WHERE id='1'"; $resultstt =…
phpasked feliphe felix 629 -
4
votes1
answer1157
viewsQ: ALTER TABLE causes auto_increment resequencing, Resulting in Duplicate entry '1' for key 'PRIMARY'
I’m trying to put id as primary key but gives this error: ALTER TABLE causes auto_increment resequencing, Resulting in Duplicate entry '1' for key 'PRIMARY'
mysqlasked feliphe felix 629 -
-2
votes3
answers7452
viewsQ: Delete, edit, copy option
I want to delete an item in the phpmyadmin table but it does not appear, How do I show these options? I will leave a print below:…
phpmyadminasked feliphe felix 629 -
8
votes3
answers7767
viewsQ: Send email with CCO in PHP
I wanted to know how to send email with CCO ("with hidden copy")? Formular code: require('config.php'); $sqlstt = "SELECT * FROM tb_site WHERE id='1'"; $resultstt = mysql_query($sqlstt); $rowtt =…
phpasked feliphe felix 629 -
0
votes1
answer149
viewsQ: Undefined variable: QUERY_STRING & PHP_SELF in
Gave this error in the script I’m trying to install: Notice: Undefined variable: QUERY_STRING in /home/j38egopi/public_html/banner/ad_install.php on line 8 Notice: Undefined variable: PHP_SELF in…
phpasked feliphe felix 629 -
2
votes1
answer185
viewsQ: You have an error in your SQL syntax;
I’ve been using this code for a while now that you’ve made this mistake Error: Database Select Failed: You have an error in your SQL syntax; check the manual that Corresponds to your Mysql server…
-
-4
votes2
answers1752
viewsQ: Problem with session_register
I have a script here but when I open the file ptc.php in the browser goes blank, I think it is the php version of my hosting that is making this error. I use PHP 5.4.26 and how do I update the code?…
-
0
votes1
answer1195
viewsQ: Field 'lastiplog' doesn’t have a default value
I’m experiencing this error when registering Field 'lastiplog' doesn’t have a default value: Code Register.php <? ob_start(); session_start(); ?>…
-
-1
votes2
answers97
viewsQ: Unknown column 'b.id2' in 'Where clause'
You’re making that mistake: Unknown column 'b.id2' in 'Where clause' Php packages. include ("config.php"); $tabla2 = mysql_query("SELECT * FROM tb_buyref b, tb_refset r WHERE r.id=".$id." AND…
phpasked feliphe felix 629 -
2
votes1
answer148
viewsQ: Last Login Date and Time
I put this line in the code php: $lastlogdate=time(); To get the date and time when logging in, more when I see it looks like this: 1397562733 I wish it would stay that way: 17/04/14…
-
0
votes1
answer2134
viewsQ: How do I run Cron Jobs in PHP?
I wanted to use Cron Jobs in these php: php. <tr> <td bgcolor="<?=$highlight?>"> <? require('config.php'); $sqle = "SELECT * FROM tb_ads WHERE user='$last' and ident='$id'";…
-
5
votes2
answers2943
viewsQ: Deprecated Error: Function ereg()
In the script that I installed gave this error: Deprecated: Function ereg() is deprecated in /home/u844214382/public_html/funciones.php on line 98 Deprecated: Code in row 98: if…